Footer

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

Preview

Usage

npm i react-hartan

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:

NOTE: Keep the name of the keys same as above.

  • 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.

Component Code

This is the code for Footer component.

Last updated