twreporter-react-footer-componentsdeprecated

Need Dependencies:

Usage no npm install needed!

<script type="module">
  import twreporterReactFooterComponents from 'https://cdn.skypack.dev/twreporter-react-footer-components';
</script>

README

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:

import Footer from 'twreporter-react-footer-components/lib/components/footer'

const Page = (props) => (
  <div>
    {props.children}
    <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