focus-components-v3
Version:
Focus web components to build applications (based on Material Design)
18 lines (12 loc) • 633 B
Markdown
# InputCheckBox
Ce composant permet d'afficher une case à cocher.

```javascript
<Checkbox label='My awsome checkbox' rawInputValue={standardCheckbox} onChange={() => {console.log('Changement de valeur')}}/>
```
| Props | Type | Default props | Description |
|---|---|---|---|
| label | string | | Label de la checkbox |
| disabled | bool | false | Si la checkbox est cliquable |
| onChange | func | | Fonction au clic sur la checkbox |
| rawInputValue | bool | false | Valeur de la checkbox |