mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -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,
|
||
|
}
|