icgc-argo / uikit

Re-usable React Components for ICGC-ARGO sites
GNU Affero General Public License v3.0
1 stars 2 forks source link
hacktoberfest icgc icgc-argo react storybook typescript

ARGO UIKit

Netlify Status Storybook npm version TypeScript

Reusable UI components for ARGO projects.

Development

Local Dev

UIKit:

Consumer project:

Notes:

Testing

react-testing-lib with Jest test runner see Button.test.tsx for example

Storybook

Component Boilerplate

Type checking

Publish to npm:

  1. Increase version under uikit/package.release.json

Dependencies

react/react-dom are needed as dependencies for storybook project does not work if they are just defined as peerDeps

Storybook

Stories are written in the older storiesOf style https://github.com/storybookjs/storybook/blob/master/lib/core/docs/storiesOf.md