ohana-react-library
v0.1.27
Published
[![Storybook](https://cdn.jsdelivr.net/gh/storybooks/brand@master/badge/badge-storybook.svg)](https://ohanahealth.github.io/ohana-react-pwa) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://g
Downloads
16
Readme
Ohana React Library
Available Scripts
In the project directory, you can run:
npm start
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
npm test
Launches the test runner in the interactive watch mode. See the section about running tests for more information.
npm run build
Builds the app for publication to NPM
npm publish
Publishes the npm module. Don't forget to increment the version number 😉
npm run storybook
Starts up Storybook. We use Storybook as a development sandbox for this project
npm run deploy-storybook
Builds and deploys the updated Storybook to GitHub Pages
Available Components/Modules
// Components
import { ActivityChart } from 'ohana-react-library'
import { DotNavigator } from 'ohana-react-library'
import { SwipeContainer } from 'ohana-react-library'
import { SwipableCharts } from 'ohana-react-library'
// Hooks
import { useDateAndData } from 'ohana-react-library';
// Utils
import { theme } from 'ohana-react-library';
import { getActiveDays } from 'ohana-react-library';
See Storybook here for required/optional props