COMPFEST React Component Library
See the documentation here.
npm install --save jasper-ui
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>
)
}
}
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
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
MIT © COMPFEST