Footer
The footer is an area at the bottom of a document page containing data common to other pages.

Usage
npm i react-hartan
import { Footer } from "react-hartan"
function App() {
return (
<>
<Footer></Footer>
</>
)
}
export default App
Customization With Props
footerList
-> Required to be sent by the user, accepts an array of objects, where each element is an object of the structure:
{
footerLinkHeading: "",
footerLinks: [
{
footerLinkName: "",
footerLinkSrc: "",
}
]
}
// footerLinks is an array of objects with above structure
copyrightYear
-> Accepts a string value, a year which is shown in the footer.copyrightName
-> Accepts a string value, a name to be shown in the footer.id
-> The id prop is similar to the id attribute in HTML. It allows to provide overall component id.userFooterStyle
-> Custom styling prop for the full footer section.userLinksStyle
-> Custom styling prop for full links container.userFooterLinksStyle
-> Custom styling prop for each link container inside the full links container.userLinksDataStyle
-> Custom styling prop for link data container.userCopyrightStyle
-> Custom styling prop for the copyright container.
import { Footer } from "react-hartan"
function App() {
return (
<>
<Footer></Footer>
</>
)
}
export default App
Component Code
This is the code for Footer component.
Last updated