@billogram/foundation-switch

A React switch component

Usage no npm install needed!

<script type="module">
  import billogramFoundationSwitch from 'https://cdn.skypack.dev/@billogram/foundation-switch';
</script>

README

@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