mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 17:43:42 -05: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,
|
||
|
}
|