editor-switch-controller.js 284 B

123456
  1. import App from '../../../base'
  2. import { react2angular } from 'react2angular'
  3. import EditorSwitch from '../components/editor-switch-legacy'
  4. import { rootContext } from '../../../shared/context/root-context'
  5. App.component('editorSwitch', react2angular(rootContext.use(EditorSwitch)))