1.1.3 • Published 3 years ago
@billogram/foundation-switch v1.1.3
@billogram/foundation-switch
A React switch component
Install
yarn add @billogram/foundation-switch
Usage
import {
FoundationSwitch,
} from '@billogram/foundation-switch';
See types for exported types.
FoundationSwitch
<FoundationSwitch
autoFocus={ false }
disabled={ false }
onChange={ noop }
value={ false }>
...
</FoundationSwitch>
Note
This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.
License
MIT