master branch's storybook: https://smarthr-ui.netlify.com/
SmartHR-UI is available as an npm package.
// with npm
npm install smarthr-ui
// with yarn
yarn add smarthr-ui
Install peerDepedencies.
// with npm
npm install react react-dom styled-components
// with yarn
yarn add react react-dom styled-components
The simplest and easiest example to get you started.
import React from 'react'
import ReactDOM from 'react-dom'
import { createTheme, ThemeProvider, Button } from 'smarthr-ui'
const theme = createTheme({})
const App: React.FC<{}> = () => (
<ThemeProvider theme={theme}>
<Button>Hello World</Button>
</ThemeProvider>
)
ReactDOM.render(<App />, document.getElementById('app'))
We'd greatly appreciate any contribution you make.
Please read the changelog.
This project is licensed under the terms of the MIT license.