cws-react-components library
A library of CWS React Components wrapped by create-react-app.
Installation
Run the following command:
npm install cws-react-components --save
Usage
{ return <div> <SomeComponent /> </div> }
Development and Storybook
You can easily develop and interact with your components by using Storybook. To run the local server, simply run:
$ npm i$ npm run storybook
Navigate to http://localhost:9001 to view your stories. They should automatically update as you develop.
Storybook will pick up any story from the stories.js
file in a component folder.
Rinse is currently using the latest technology available, so you may need to update your Node versions to latest to accomodate Babel 7 and Webpack 4.