React components
npm install
npm run storybook
npm install https://github.com/ETCDEVTeam/emerald-js-ui.git#v0.0.10
or
yarn add https://github.com/ETCDEVTeam/emerald-js-ui.git#v0.0.10
npm install material-ui
or
yarn add material-ui
Somewhere in index.js
...
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import theme from 'emerald-js-ui/src/theme.json';
...
const muiTheme = getMuiTheme(theme);
const App = () => (
<MuiThemeProvider muiTheme={muiTheme}>
<Main />
</MuiThemeProvider>
);
ReactDOM.render(<App />, document.getElementById('app'));
import { Block as BlockIcon } from 'emerald-js-ui/lib/icons2';
Chat with us via Gitter