RadioButtonSet

RadioButtonSet can be used to render a set of RadioButtons to allow users to select exactly one item from a set.

Example

Usage

NameTypeDescription
children (required)nodePass in RadioButton[]
defaultValuestringThe default value to put into the component, without making it controlled
directionenumCustomize directionDefault: 'auto'
labelstringThe label of this input field
name (required)stringThe name of this input field
onChangefuncCalled when a radio button is clicked
requiredboolPass true to mark the field as required