pearlbea / ph-web-ui

React component library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PH Web UI

A library of accessible React components for Propeller Health web products.

##To use the component library in a web project:

##To create a new component:

install

Clone the repository and run yarn to install dependencies.

develop

To create a new component, make a folder in the src/components directory. https://storybook.js.org/docs/basics/writing-stories/ https://github.com/storybookjs/storybook/blob/master/addons/docs/docs/docspage.md

start

Run yarn run storybook:start to start Storybook and go to localhost:9009/ to view components locally.

test

Run yarn test to test the components.

About

React component library


Languages

Language:HTML 46.6%Language:JavaScript 42.8%Language:CSS 10.6%