Switch
Demo
Default
Small
Code
import Switch from '.'
export default function SwitchDemo() {
return (
<div className="demo-container">
<h3>Default</h3>
<div className="demo-row">
<Switch checkedChildren="ON" unCheckedChildren="OFF" />
</div>
<h3>Small</h3>
<div className="demo-row">
<Switch size="small" checkedChildren="ON" unCheckedChildren="OFF" />
</div>
</div>
)
}