2023-11-28 06:20:24 -05:00
|
|
|
import EditorSwitch from '../js/features/source-editor/components/editor-switch'
|
2022-05-16 05:38:20 -04:00
|
|
|
import { ScopeDecorator } from './decorators/scope'
|
2024-10-10 03:26:18 -04:00
|
|
|
import { bsVersionDecorator } from '../../.storybook/utils/with-bootstrap-switcher'
|
2022-02-21 06:16:49 -05:00
|
|
|
|
|
|
|
export default {
|
2022-03-28 06:23:21 -04:00
|
|
|
title: 'Editor / Switch',
|
2022-02-21 06:16:49 -05:00
|
|
|
component: EditorSwitch,
|
2022-05-16 05:38:20 -04:00
|
|
|
decorators: [ScopeDecorator],
|
2024-10-10 03:26:18 -04:00
|
|
|
argTypes: {
|
|
|
|
...bsVersionDecorator.argTypes,
|
|
|
|
},
|
2022-02-21 06:16:49 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export const Switcher = () => {
|
2022-05-16 05:38:20 -04:00
|
|
|
return <EditorSwitch />
|
2022-02-21 06:16:49 -05:00
|
|
|
}
|