EnhanceCheckboxOptions: {
    defaultValue?: string[];
    onValueChange?: (value: string[]) => void;
}

Options for enhanceCheckbox.

Type declaration

  • OptionaldefaultValue?: string[]

    Values of the initially checked boxes. Falls back to the markup's checked attributes.

  • OptionalonValueChange?: (value: string[]) => void

    Called with the checked values after every change.