react-components-archive

A react component library


License
ISC
Install
npm install react-components-archive@0.0.5

Documentation

React Component Library

Getting started

Install the project

npm i comp-lib-react

Import component in JS file

import { Button } from 'comp-lib-react';

const App = ({ }) => {
  return (
    <Button
      backgroundColor="darkblue"
      color="white"
      label="Click me!" />
  );
};

Live demo in Storybook

Link to live demo site

Available Scripts

Build the library

npm run rollup

Publish the library

npm publish --access public

Run tests

npm run test

Run storybook locally

npm run storybook

Build storybook

npm run build-storybook

Publish Github Pages of Storybook

npm run deploy-storybook