OptionalautoFocus?: booleanOptionaldisabled?: booleanIndicates if the input is disabled.
OptionaldisplayOption?: (props: RadioInputOption<T>) => React.ReactNodeControls the display of rendered options.
Optionalid?: stringThe ID of the input.
Optionalinvalid?: booleanIndicates if the input is invalid.
OptionalisLoading?: booleanIndicates if the options are currently loading.
Optionalname?: stringThe name of the input.
OptionalonBlur?: () => voidA callback function to call when focus is removed from the input.
OptionalonFocus?: () => voidA callback function to call when the input becomes focused.
OptionalOption?: (props: RadioOptionProps<T>) => JSX.Element | nullComponent for each option.
OptionaloptionClassName?: stringCSS class name to give to each option.
The options for the value.
OptionalOptionsContainer?: (props: RadioInputOptionsContainerProps) => JSX.Element | nullContainer component for options.
OptionalselectedOptionClassName?: stringCSS class name to give to the selected option.
A callback function to update the input value when a change happens.
OptionalsideEffect?: (v: T) => voidA side effect function to call when the value changes as a result of user interaction with this input, and not external updates to the field value.
The value of the input.
Indicates if the input should be auto-focused.