label
string
"Label"
helpText
string
""
error
boolean
false
horizontal
boolean
false
children
React.ReactNode
value
string
onValueChange
(value: string) => void
Each item component needs a value
prop to represent the value of the option. Use value
and onValueChange
props on the group component to control the selected state.
View code
View code
Use label
and helpText
props for additional information.
View code
Use error
and helpText
props for validating the entire group.
View code
View code