React components for displaying header and footer in all dictyBase web applications.
npm i dictyBase/dicty-components-header-footer --save
For a particular version(checks tags/release first)
npm i dictyBase/dicty-components-header-footer#v1.0.0 --save
import {Header, Footer} from "dicty-components-header-footer
Documentation of Header
is here.
Documentation of Footer
is here.
- Clone the
develop
branch of this repository - Run
npm install
- Create a feature branch(feature/foo) or
bug/foo
ordocumentation/foo
orrefactor/foo
, whatever suits the purpose of development - To run a demo during development
npm run start
- Write tests in the same folder as the component. Snapshot testing is recommended.
- At the end of development,
npm run test:run
should pass. - Write documentation using
styleguidist
and build it usingnpm run styleguide:build
. - Run
npm run build
to generate the library. - Commit all the changes and either merge to develop or send a pull request.