React components to be shared across applications
CL has a dependency of styled-components
.
$ yarn add rcl-demo
import { ThemeProvider, theme } from 'rcl-demo';
import { Button } from 'rcl-demo';
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 publish
$ npm publish
To create a production build
$ yarn build
To create a production build of the static library
$ yarn styleguide:build