import React from 'react';
import Loadable from 'react-loadable';
import Loading from '../component/Loading';

const EditorLoader = Loadable({
    loader: () => import('./Editor'),
    loading: (props) => <Loading {...props} name='Editor'/>,
});

export default EditorLoader;