jasper-ui
COMPFEST React Component Library
Docs
See the documentation here.
Install
npm install --save jasper-ui
Usage
import React Component from 'react' import Button from 'jasper-ui'import 'jasper-ui/dist/index.css' { return <Button>Yohohoho</Button> }
Local setup
To install jasper-ui:
- npm install
To install documentation page:
- cd docusaurus && npm install
To run storybook:
- npm run storybook
To run documentation page:
- Run this in one terminal:
- npm start
- Run this in another terminal:
- cd docusaurus && npm start
Testing
To run all tests:
- npm test
To run test with coverage:
- npm run test:coverage
To run test and update snapshots:
- npm run test:watch
License
MIT © COMPFEST