Dropdown Menu Radio Item
@astryxdesign/core v0.7.1 · DropdownMenuRadioItem
Props
| Name | Type | Default | Description |
|---|---|---|---|
value | string | - | The value this option represents. The item must sit inside a radio group; otherwise it throws while it is set up. |
label | string | number | - | Primary text. |
description | string | number | - | Secondary line under the label. |
icon | string | Component | - | Icon before the label. Use the icon slot for anything else. |
isDisabled | boolean | false | Disables this option. It stays in the group and cannot be selected. |
The row's role is menuitemradio. Whether it closes the menu is decided by the group. Trailing content goes in the endContent slot.