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