node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

@gov.au/footer

@gov.au/footer

Footers help users who reach the bottom of a page without finding what they want.

Contents


Install

yarn add @gov.au/footer
npm install @gov.au/footer --save-dev

⬆ back to top


Usage

⬆ back to top


React

Usage:

import Footer, { FooterNav, FooterEnd } from './footer.js';
 
<Footer>
    <FooterNav>
        uikit-footer__navigation
    </FooterNav>
    <FooterEnd>
        uikit-footer__end
    </FooterEnd>
</Footer>

No props...

For more details have a look at the usage example.

⬆ back to top


Dependency graph

footer
└─ core

⬆ back to top


Build

⬆ back to top


Tests

The visual test: http://uikit.apps.staging.digital.gov.au/packages/footer/tests/site/

⬆ back to top


Release History

  • v0.3.0 - Added pancake-react plugin, ES5 main file
  • v0.2.0 - Added react component
  • v0.1.0 - 💥 Initial version

⬆ back to top


License

Copyright (c) Commonwealth of Australia. Licensed under MIT.

⬆ back to top

};