1.0.29 • Published 4 years ago

gv-component-library v1.0.29

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

CircleCI semantic-release semantic-release

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

Preview