RadioButtonGroup
unselected minimal usage
selected minimal usage
- children
element
[]
Required - label
string
Requiredspecifies the
aria-label
value for theRadioButtonGroup
- name
string
Requiredspecifies the
name
value for theRadioButtonGroup
so that no more than oneRadioButton
can be selected at any given time - onBlur
func
Default() => {}specifies the callback for the
onBlur
event for eachRadioButton
within the group. The default value is a no-op function. - onChange
func
Default() => {}specifies the callback for the onChange event for each RadioButton within the group. The default value is a no-op function.
- onClick
func
Default() => {}specifies the callback for the
onClick
event for eachRadioButton
within the group. The default value is a no-op function. - onFocus
func
Default() => {}specifies the callback for the
onFocus
event for eachRadioButton
within the group. The default value is a no-op function. - onKeyDown
func
Default() => {}specifies the callback for the
onKeyDown
event for eachRadioButton
within the group. The default value is a no-op function. - selectedIndex
number
specifies which
RadioButton
is initially selected. The default value isundefined
which signifies that noRadioButton
is initially selected.