1.1.1 • Published 3 years ago

eha-cells v1.1.1

Weekly downloads
46
License
Apache-2.0
Repository
github
Last release
3 years ago

eha-cells

eHA Cells

NPM JavaScript Style Guide

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