mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
15 lines
308 B
TypeScript
15 lines
308 B
TypeScript
|
import Switch from '../js/shared/components/switch'
|
||
|
|
||
|
export const Unchecked = () => {
|
||
|
return <Switch onChange={() => {}} checked={false} />
|
||
|
}
|
||
|
|
||
|
export const Checked = () => {
|
||
|
return <Switch onChange={() => {}} checked />
|
||
|
}
|
||
|
|
||
|
export default {
|
||
|
title: 'Shared / Components / Switch',
|
||
|
component: Switch,
|
||
|
}
|