Skip to components
DEVELOPER REFERENCE · v4.0.0

RadioGroup API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

RadioGroup6 props1 callbacks0 methods

Props6

RadioGroup props
NameTypeDescription
valueRequired
TInspect type
Value to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted.
optionsRequired
readonly RadioOption<T>[]Inspect type
Available choices or control configuration, according to the declared type; expand it to inspect each field.
classNameOptionalstring | undefinedAdditional CSS classes applied to the component root.
labelRequiredstringLabel content or accessible name for the component, as rendered by this control.
disabledOptionalboolean | undefinedDisables user interaction with the control.
nameOptionalstring | undefinedForm field name submitted with the control value.

Events and callbacks1

RadioGroup events and callbacks
NameTypeDescription
onChangeRequired
(value: T) => voidInspect type
Receives the new value when the user changes the control. Update the corresponding value prop for controlled use.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.