The radio group component is the preferred way to display multiple radio fields.
View source codeReactElement<Readonly<{ className?: string; name?: string; isDisabled?: boolean; id?: string; isChecked?: boolean; value: string; label: ReactNode; onChange?: ChangeEventHandler<HTMLInputElement>; }>, string | JSXElementConstructor<...>> | ReactElement<...>[]
The RadioInput(s) contained within the RadioGroup.
string
The name of the RadioGroup
ChangeEventHandler<HTMLInputElement>
Handler that is called when the value changes.
string
The current value
string
className for the element
"column" | "row"
The axis the RadioInput(s) should align with.
Default: row