import styles from "./ChipRadio.module.css"; interface SendouChipRadioGroupProps { children: React.ReactNode; orientation?: "horizontal" | "vertical"; className?: string; } interface SendouChipRadioProps { name: string; value: string; checked: boolean; onChange: (value: string) => void; children: React.ReactNode; } export function SendouChipRadioGroup({ children, orientation = "horizontal", className, }: SendouChipRadioGroupProps) { return (
{children}
); } export function SendouChipRadio({ name, value, checked, onChange, children, }: SendouChipRadioProps) { const id = `chip-radio-${name}-${value}`; return ( <> onChange(value)} className={styles.radio} /> ); }