@real-system/switch
v0.0.11
Published
Switch component for real system.
Downloads
13
Readme
Installation
# install peer dependencies
# npm
$ npm install react react-dom @real-system/ariakit-library @real-system/typography @real-system/utils-library @real-system/styled-library @real-system/elements-primitive
# yarn
$ yarn add react react-dom @real-system/ariakit-library @real-system/typography @real-system/utils-library @real-system/styled-library @real-system/elements-primitive
# install switch
# npm
$ npm install @real-system/switch
# yarn
$ yarn add @real-system/switch
Code Example
import { Switch } from '@real-system/switch';
const MySwitch = () => <Switch />;