Alternative UI
Install
npm install lib-react-components --save
Configure webpack config
You need add css loader to your webpack config
Use components
Here's a quick example to get you started, it's literally all you need:
import React from 'react';
import ReactDOM from 'react-dom';
import { ThemeProvider, Button } from 'lib-react-components';
import theme from 'lib-react-components/lib/themes/default.css';
function App() {
return (
<ThemeProvider theme={theme}>
<Button>
I am Button
</Button>
</ThemeProvider>
);
}
ReactDOM.render(<App />, document.getElementById('#root'));