Files
resolutionflow/frontend/src/components/subscription/CheckoutButton.tsx
Michael Chihlas 3f04911070
All checks were successful
CI / frontend (push) Successful in 6m40s
Mirror to GitHub / mirror (push) Successful in 7s
CI / e2e (push) Successful in 10m7s
CI / backend (push) Successful in 10m34s
feat(billing): plan taxonomy reconciliation + Stripe sync + internal-tester allowlist (#164)
Co-authored-by: Michael Chihlas <michael@resolutionflow.com>
Co-committed-by: Michael Chihlas <michael@resolutionflow.com>
2026-05-11 05:07:07 +00:00

25 lines
616 B
TypeScript

import { cn } from '@/lib/utils'
interface CheckoutButtonProps {
plan: 'starter' | 'pro' | 'enterprise'
className?: string
}
export function CheckoutButton({ plan, className }: CheckoutButtonProps) {
const planLabels = { starter: 'Starter', pro: 'Pro', enterprise: 'Enterprise' }
return (
<button
disabled
title="Billing coming soon"
className={cn(
'rounded-md bg-white px-4 py-2 text-sm font-medium text-black',
'disabled:opacity-50 disabled:cursor-not-allowed',
className
)}
>
Upgrade to {planLabels[plan]} (Coming Soon)
</button>
)
}