-
Notifications
You must be signed in to change notification settings - Fork 3
Checkbox
Jonathan Langlois edited this page Dec 2, 2020
·
4 revisions
Checkbox can be used as standalone or a child of a checkbox group (interchangeable with Checkbox.item)
| Group | Prop | Type | Description |
|---|---|---|---|
| Sizes | mini | boolean | Sizing options intended to modify font-size and padding |
| tiny | |||
| small | |||
| medium | |||
| large | |||
| big | |||
| huge | |||
| Label | label | string | label for the checkbox |
| Value | value | string | value for the checkbox |
| Name | name | string | name for the checkbox |
| Disabled | disabled | boolean | disable checkbox |
- it displays the checkbox and submits the form data when the parent form is submitted.
- it applies the theme styles; no additional functional enhancement.
- it support custom event handlers.