overleaf/services/web/frontend/stories/switch.stories.tsx
Miguel Serrano d94eaa19cc Merge pull request #14587 from overleaf/mf-enable-sso-managed-users
[web] Enable SSO switch on Group Settings

GitOrigin-RevId: 591881eb4e6bad912de026f7a687f3b020712c2d
2023-10-02 08:04:18 +00:00

14 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,
}