0.1.8 • Published 4 years ago
jasper-ui v0.1.8
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'
class Example extends Component {
render() {
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