UNPKG

material-components

Version:

Stateless UI components for react that follow material design

20 lines (16 loc) 466 B
import 'babel/polyfill'; // load the css require('normalize.css/normalize.css'); require('../lib/index.css'); // mount the application import React from 'react'; import ReactDOM from 'react-dom'; import { Container } from '@cerebral/react'; import controller from './controller'; import Application from './components/application.js'; ReactDOM.render( <Container controller={controller}> <Application /> </Container>, document.getElementById('root') );