UNPKG

focus-components-v3

Version:

Focus web components to build applications (based on Material Design)

18 lines (12 loc) 633 B
# InputCheckBox Ce composant permet d'afficher une case à cocher. ![Image](https://github.com/get-focus/focus-components/blob/develop/src/input-checkbox/example/capture.png?raw=true) ```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 |