cws-react-components

    0.1.5 • Public • Published

    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

    import React, { Component } from 'react'
    import { SomeComponent } from 'cws-react-components'
     
    class HomePage extends Component {
      render() {
        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.

    Install

    npm i cws-react-components

    DownloadsWeekly Downloads

    7

    Version

    0.1.5

    License

    MIT

    Unpacked Size

    33.5 kB

    Total Files

    21

    Last publish

    Collaborators

    • gabesp
    • rafaelducati
    • thiagoenge
    • willycamargo