import React from "react"; import { RadioGroupItem } from "./radio-group"; import { cn } from "../../lib/utils"; export interface SelectableCardProps { /** The value passed to the parent RadioGroup */ value: string; /** Whether this card is currently selected */ selected?: boolean; /** Content rendered inside the card */ children: React.ReactNode; className?: string; } /** * A card-shaped radio option. Place inside a RadioGroup. * Hides the RadioGroupItem visually so the entire card acts as the selector. */ export function SelectableCard({ value, selected = false, children, className, }: SelectableCardProps) { return ( ); }