Appearance
RadioGroup
Nhóm chọn một.
ts
import { RadioGroup, RadioGroupItem } from "@minap/ui";Sample
Props / API
| Prop / API | Type | Default | Notes |
|---|---|---|---|
value / defaultValue | string | — | |
onValueChange | (value: string) => void | — | |
disabled | boolean | false | |
RadioGroupItem.value | string | — | Bắt buộc cho mỗi item |
Behavior
- size-5 items
- focus ring
Related
- Category:
forms-inputs - Catalog gallery:
/catalog/forms-inputs