RadioButtonGroup
unselected minimal usage
selected minimal usage
- children
element[]Required - label
stringRequiredspecifies the
aria-labelvalue for theRadioButtonGroup - name
stringRequiredspecifies the
namevalue for theRadioButtonGroupso that no more than oneRadioButtoncan be selected at any given time - onBlur
funcDefault() => {}specifies the callback for the
onBlurevent for eachRadioButtonwithin the group. The default value is a no-op function. - onChange
funcDefault() => {}specifies the callback for the onChange event for each RadioButton within the group. The default value is a no-op function.
- onClick
funcDefault() => {}specifies the callback for the
onClickevent for eachRadioButtonwithin the group. The default value is a no-op function. - onFocus
funcDefault() => {}specifies the callback for the
onFocusevent for eachRadioButtonwithin the group. The default value is a no-op function. - onKeyDown
funcDefault() => {}specifies the callback for the
onKeyDownevent for eachRadioButtonwithin the group. The default value is a no-op function. - selectedIndex
numberspecifies which
RadioButtonis initially selected. The default value isundefinedwhich signifies that noRadioButtonis initially selected.