rcl-demo
v1.0.3
Published
[![CircleCI](https://circleci.com/gh/s-barrah/react-component-library.svg?style=svg&circle-token=dbd3768989213f5e3b96fc33c5f289e18d2fd2d5)](https://app.circleci.com/pipelines/github/s-barrah/react-component-library) [![semantic-release](https://img.shield
Downloads
7
Readme
React Component Library
React components to be shared across applications
Use
CL has a dependency of styled-components
.
Install the package
$ yarn add rcl-demo
Wrap app with the ThemeProvider and theme
import { ThemeProvider, theme } from 'rcl-demo';
Import components
import { Button } from 'rcl-demo';
Develop
To install CL locally run
$ yarn install
To start
$ yarn styleguide
To test
$ yarn test
Test will run through all jest tests and watch for any changes on snapshots.
To run lint
$ yarn lint
To publish
$ npm publish
Build
To create a production build
$ yarn build
To create a production build of the static library
$ yarn styleguide:build