UNPKG

focus-components-v3

Version:

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

17 lines (12 loc) 499 B
# InputToggle Ce composant permet d'afficher un switch. ![Image](https://github.com/get-focus/focus-components/blob/doc-input-radio/src/input-toggle/example/capture.png?raw=true) ```javascript <h3>Input toggle</h3> <Toggle label='My awesome toggle' value={true}/> ``` | Props | Type | Default props | Description | |---|---|---|---| | label | string | | Libellé du toggle | | onChange | func | | Action au changement d'état | | rawInputValue | bool | false | Etat du toggle |