CheckboxGroup
View Source
Manage a group of checkboxes with one value and one callback.
Props
Accepts Card props.
children
ReactReactNodename
stringMaps to the corresponding Checkbox name prop.
onChange
(value: string[]) => voidCallback when any child Checkbox fires its onChange callback. Receives new array of values.
value
ArrayAccepts an array of strings that match the corresponding Checkbox values that should be checked.