Usage
Size
Disabled
Props
| Prop | Type | Default | Description |
|---|---|---|---|
defaultValue | string | - | The default selected value |
value | string | - | The controlled value |
onValueChange | (value: string) => void | - | Callback when the value changes |
size | 'sm' | 'md' | 'lg' | 'md' | Size of the radio buttons (for RadioGroupItem) |
disabled | boolean | false | Whether the radio button is disabled (for RadioGroupItem) |