import React from 'react';
import ReactDOM from 'react-dom';

import 'antd/dist/antd.css';

import { store, StoreContext } from './store';
import { Editor } from './editor';
import './index.less';

ReactDOM.render(
  <StoreContext.Provider value={store}>
    <Editor />
  </StoreContext.Provider>,
  document.getElementById('app')
)