mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 08:41:01 +00: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,
|
||
|
}
|