Package Exports
- @responsive-ui/switch
- @responsive-ui/switch/src/Switch.svelte
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@responsive-ui/switch) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@responsive-ui/switch
A switch component of responsive-ui.
Install
npm install @responsive-ui/switchor
yarn add @responsive-ui/switchLook and Feel

Properties, Events & Slots
interface SwitchProps {
checked?: boolean;
disabled?: boolean;
}
interface SwitchEvents {
change?: () => {} | void;
}
declare class Switch extends SvelteComponentTyped<SwitchProps, SwitchEvents> {}Example
<script>
import Switch from '@responsive-ui/switch';
</script>
<Switch checked={false} />Try it yourself in Svelte Repl
Sponsors
License
@responsive-ui/switch is 100% free and open-source, under the MIT license.
Big Thanks To
Thanks to these awesome companies for their support of Open Source developers ❤