overleaf/services/web/frontend/stories/editor-switch.stories.js
Alf Eaton d91ee50762 Standardise scope/context usage in Storybook stories (#7842)
GitOrigin-RevId: 109a4357fc3b083ffbd3af5b8c98acf0f655f297
2022-05-17 08:04:12 +00:00

12 lines
301 B
JavaScript

import EditorSwitch from '../js/features/source-editor/components/editor-switch'
import { ScopeDecorator } from './decorators/scope'
export default {
title: 'Editor / Switch',
component: EditorSwitch,
decorators: [ScopeDecorator],
}
export const Switcher = () => {
return <EditorSwitch />
}