2018-03-12 08:30:03 +00:00
|
|
|
import 'babel-polyfill'
|
2018-03-08 09:04:12 +00:00
|
|
|
import { MuiThemeProvider } from 'material-ui/styles'
|
2018-03-01 08:05:56 +00:00
|
|
|
import React from 'react'
|
|
|
|
import ReactDOM from 'react-dom'
|
2018-03-08 09:04:12 +00:00
|
|
|
import theme from '~/theme/mui'
|
2018-03-01 08:05:56 +00:00
|
|
|
import App from './App'
|
2018-03-02 16:53:50 +00:00
|
|
|
|
|
|
|
const Root = () => (
|
|
|
|
<MuiThemeProvider theme={theme}>
|
|
|
|
<App />
|
|
|
|
</MuiThemeProvider>
|
|
|
|
)
|
2018-03-01 08:05:56 +00:00
|
|
|
|
|
|
|
ReactDOM.render(
|
2018-03-02 16:53:50 +00:00
|
|
|
<Root />,
|
2018-03-12 08:30:03 +00:00
|
|
|
document.getElementById('root'),
|
|
|
|
)
|