Skip to content

adriansyah/he-react-ui

 
 

Repository files navigation

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.

Packages

No packages published

Languages

  • TypeScript 75.1%
  • CSS 20.3%
  • JavaScript 4.6%