CheckboxGroup

View Source

Manage a group of checkboxes with one value and one callback.

Props

Accepts Card props.

childrenReactReactNode
namestring

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.

valueArray

Accepts an array of strings that match the corresponding Checkbox values that should be checked.