RadioButtonList
A radio button list lets merchants select from a given set of options.
Name | Type | Description |
---|---|---|
items | string[] |
The radio button options. |
onItemSelected | (item: string) => void |
A callback to be performed when the radio list item is selected. |
initialSelectedItem | string? |
The name of the selected item when the radio button list is first rendered. |
initialOffsetToShowSelectedItem | boolean? |
Whether the initialSelectedItem renders at the top of the list. |