@dcp-ui/toggle
The Toggle component from @dcp-ui.
Description
A toggle component. We prefer toggle over switch for easy to use. Switch is a usual keyword in development.
Installation
yarn add @dcp-ui/toggle @xstyled/styled-components @xstyled/system react react-dom styled-components
Import
import { Toggle } from '@dcp-ui/toggle'
Documentation
See the documentation or package source for more details.