eha-cells
v1.1.1
Published
eHA Cells
Downloads
2
Readme
eha-cells
eHA Cells
Install
npm install --save eha-cells
or
yarn add eha-cells
Sample Usage
// App.js
import React from 'react';
import { Theme, ThemeProvider Login } from 'eha-cells';
import 'eha-cells/dist/fonts/fontello/css/eha.css';
import 'eha-cells/dist/fonts/fontello/css/animation.css';
const customTheme = {
...Theme,
PrimaryColor: '#2A9BD5',
};
const App = () => (
// Either pass the `Theme` directly or your customTheme
<ThemeProvider theme={customTheme}>
<Login />
</ThemeProvider>
);
export default App;
// Index.js
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
ReactDOM.render(
<App />,
document.getElementById('root')
);
License
Apache-2.0 © ehealthAfrica