3.0.1 • Published 6 years ago

react-footer-comp v3.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

React Footer Comp

React Footer Comp is a react based footer component with dynamic year generation.

Try React Footer Comp

React footer comp is developed by Raja Raghav.

Example

React Footer Comp Example

Try it here

Features

  • Dynamic Date generation, i.e. date changes every year
  • Set Dates range with 'years' props.
  • Custom text using 'text' props.
  • Copyright icon ©
  • Every component and element is stylable.

Installation

  1. npm install --save react-footer-comp
  2. Intialize import Footer from "react-footer-comp"

Plugins

  • copyrightText
  • copyrightIcon
  • text
  • initial year

Props

Prop NametypeExample
textstring<Footer text={"All rights reserved."}/>
yearsarray
copyrightIconboolean
copyrightTextboolean
heightnumber
bgColorstring<Footer bgColor={"yellow"}/>
copyrightTextStylestyle object<Footer copyrightTextStyle={{alignSelf:"flex-start"}}/>
copyrightIconStylestyle object<Footer copyrightTextStyle={{alignSelf:"flex-end"}}/>
textStylestyle object<Footer copyrightTextStyle={{alignSelf:"center"}}/>

Note

React footer comp uses flexbox so all position based styling should be done using flexbox.