@pga/pga-championship-library
v1.0.1
Published
React component library
Downloads
3
Readme
pga-championship-library
React Component Library for Championship website.
How to use
- run
npm install --save @pga/pga-championship-library
in project directory - import components into your project, for example:
import { Header } from '@pga/pga-championship-library'
How To Contribute
- Create component and be sure to:
- Add your component inside
src/
- export it at
src/index.js
- Make sure it's well tested in
src/__tests__
- Add your component inside
- Make a PR! CircleCI should automatically deploy to NPM and publish new changes to our component library website on merge with master.
- IMPORTANT Before making a PR: run
npm run bump-version
to change the version number in package.json
- IMPORTANT Before making a PR: run
Happy hacking!