@hods/footer
v0.5.2
Published
HODS' page footer.
Downloads
3,876
Keywords
Readme
HODS - Footer
HODS' page footer.
Using this package
First install the package into your project:
npm install -S @hods/footerThen use it in your code as follows:
import React, { createElement as h } from 'react';
import Footer from '@hods/footer';
export const MyComponent = props => (
<Footer
navigation={[
{ href: '/feedback', text: 'Feedback' },
{ href: '/help', text: 'Help' },
{ href: 'https://gov.uk/', text: 'Gov.UK home' }
]}
>
My footer message.
</Footer>
);
export default MyComponent;Working on this package
Before working on this package you must install its dependencies using the following command:
pnpm installTesting
npm testBuilding
npm run buildClean-up
npm run clean