mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-12 19:42:01 +00:00
16 lines
375 B
JavaScript
16 lines
375 B
JavaScript
import EditorSwitch from '../js/features/source-editor/components/editor-switch'
|
|
import { withContextRoot } from './utils/with-context-root'
|
|
|
|
export default {
|
|
title: 'Editor / Switch',
|
|
component: EditorSwitch,
|
|
}
|
|
|
|
export const Switcher = () => {
|
|
return withContextRoot(<EditorSwitch />, {
|
|
editor: {
|
|
richText: false,
|
|
newSourceEditor: false,
|
|
},
|
|
})
|
|
}
|