twreporter-react-footer-components
INSTALL
Need Dependencies:
yarn add react lodash prop-types react-router styled-components
Install the package:
yarn add twreporter-react-footer-components
USE
ES6:
const Page = <div> propschildren <Footer /> </div>
Props:
none
Developement
Source code
- For this package:
/footer-components/src/
- Shared by all packages under
twreporter-react-components
:/shared/
gulp.watch
Automatically rebuild while files change.
cd twreporter-react-components/footer-components
npm run dev
Build (pre-publish)
cd twreporter-react-components/footer-components
npm run build
Pubish
cd twreporter-react-components/footer-components
npm publish