hoangnd25 / he-react-ui

Clean react UI components as used on https://healthengine.com.au

Home Page:https://healthengineau.github.io/he-react-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

he-react-ui

Build Status Coverage Status

Clean stateless react UI components built for https://healthengine.com.au

Explore components

react-cosmos is used as development environment for UI components. Go to https://healthengineau.github.io/he-react-ui/ to view

Or to use locally, run

yarn cosmos

and then head to localhost:8989

Command Line Commands

Install

yarn add he-react-ui

or with npm

npm install --save he-react-ui

Unit testing

yarn test

Tests your application with the unit tests specified in the **/tests/*.js files throughout the application.
All the test commands allow an optional [string] argument to filter the tests run by Jest.

# Run only the Button component tests
npm test -- Button

Watching

yarn test:watch

Watches changes to your application and re-runs tests whenever a file changes.

About

Clean react UI components as used on https://healthengine.com.au

https://healthengineau.github.io/he-react-ui/

License:MIT License


Languages

Language:TypeScript 74.2%Language:CSS 21.0%Language:JavaScript 4.8%