import type { ReactNode } from 'react'; export interface PlanCardProps { name: string; price: ReactNode; cadence?: string; features: string[]; /** At most ONE plan per row is featured, and it is featured by fill, not by hue. */ featured?: boolean; action: ReactNode; className?: string; } export function PlanCard({ name, price, cadence, features, featured = false, action, className, }: PlanCardProps) { return (
{name} {price} {cadence ? {cadence} : null}
{action}
); }