UNPKG

@afiniti/footer

Version:

React component for footer

41 lines (28 loc) 824 B
# @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: ```jsx 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; ```