import { Checkbox } from "@wfp/react"; () => { return <Checkbox labelText="Checkbox label text" />; };
(event: ChangeEvent<HTMLInputElement>,checked?: boolean,customId?: string) => void
@param event | The event triggering the change @param checked | The new value of the checkbox @param customId | The id of the checkbox
ReactNode
Provide a label to provide a description of the Checkbox input that you are exposing to the user
boolean
Specify whether the Checkbox is in an indeterminate state
Invalid state for the checkbox
string
Provide the text that is displayed when the checkbox is in an invalid state
Specify whether the label should be hidden, or not
The CSS class name to be placed on the wrapping element