// eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-nocheck import React, { useReducer } from 'react'; import { EditorPropsType } from './types'; import { EditorReducer, EditorContext } from './reducers'; import { defaultEditorState } from './constants'; import { TitleBar } from '../TitleBar'; import template from '../TitleBar/menuTemplate'; import ScenarioWorkbench from '../Workbench'; import icon from '../../../../assets/icon.svg'; function Editor(props: EditorPropsType): JSX.Element { const [EditorState, dispatch] = useReducer(EditorReducer, defaultEditorState); return ( {({ state, dispatch }) => ( <>
)}
); } export { EditorContext, Editor };