@afiniti/footer
v0.2.2
Published
React component for footer
Downloads
70
Maintainers
Readme
@afiniti/footer
Description
React Footer module built.
Note
Your feedback would be highly appreciated, custom features can also be requested. Only meant for within organization private usage.
Installation
npm i @afiniti/footer
Props
| Name | Type | Description |
| -------- | -------- | ----------------- |
| apiUrl
| string
| graphcms api url. |
Example Usage
The package can be integrated inside a react component as follows:
import React from 'react';
import Footer from '@afiniti/footer';
import '@afiniti/footer/footer.css';
const ContactUs = () => {
return (
<Footer
apiUrl="https://api-euwest.graphcms.com/v1/sdkasndkasndknas/master"
slug="welcome-home"
/>
);
};
export default ContactUs;