The InputCheck component is a custom checkbox input with flexible styling and error handling. It integrates with form handling libraries using the register method.
Prop | Type | Description |
---|---|---|
className | string | Additional CSS classes. |
name | string | Identifier for the checkbox in form submission. |
label | string | Label text for the checkbox input. |
labelCheck | string | Additional label text next to the checkbox. |
register | function | Function to register the input with the useForm hook. |