A checkbox with an emoji icon.
Dependencies
None
Installation
None
Props
Name | Type | Default | Description |
---|---|---|---|
id | string | Unique identifier for thecheckbox | |
name | string | Name attribute for the checkbox | |
checked | boolean | Whether the checkbox is checked | |
onChange | (event: React.ChangeEvent<HTMLInputElement>) => void | Function to call when the checkbox state changes | |
label | string | Label text for the checkbox | |
className | string | Additional CSS classes to apply |