linn-component-library

0.0.1 • Public • Published

React Component Library

React components to be reused across projects presented in a storybook dev enviornment.

Usage

To install:

npm i linn-reusable-react-components-library

You can explore components currently in the project here.

To use components, import them individually like so:

import BackButton from 'linn-reusable-react-components-library';

Development

In the project directory, you can run:

npm run storybook

which runs the storybook dev server.

Make a new branch and add your new components, tests and stories in the relevant directories and view them in storybook. When you are ready to share your new component, add it to the index.js following the existing syntax. Up the version number in package.json and then make a pull request for review.

After merging your new component branch into master, build the npm package:

npm run build

and publish it:

npm publish --access public

to publish the changes to npm. (n.b. if this is your first time, you'll need to make an npm account and request contribution permissions for this package.)

Readme

Keywords

none

Package Sidebar

Install

npm i linn-component-library

Weekly Downloads

2

Version

0.0.1

License

none

Unpacked Size

38.3 kB

Total Files

26

Last publish

Collaborators

  • linnitdev