gv-component-library
v1.0.29
Published
[![CircleCI](https://circleci.com/gh/s-barrah/gv-component-library.svg?style=svg&circle-token=dbd3768989213f5e3b96fc33c5f289e18d2fd2d5)](https://app.circleci.com/pipelines/github/s-barrah/gv-component-library) [![semantic-release](https://img.shields.io/b
Downloads
9
Readme
React Component Library
React components to be shared across applications
Use
CL has a dependency of styled-components
.
Install the package
$ yarn add gv-component-library
Wrap app with the ThemeProvider and usTheme
import { ThemeProvider, theme } from 'gv-component-library';
Import components
import { Button } from 'gv-component-library';
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 publish
$ yarn publish:npm