A toggle switch component used to enable or disable a setting.
Prop | Type | Description |
---|---|---|
className | string | Additional CSS classes. |
name | string | Identifier for the input in form submission. |
label | string | Label text for the input field. |
labelCheck | string | Label displayed next to the switch. |
register | function | Function to register the input with the useForm hook. |