https://github.com/rajascript/react-footer-comp
React based footer component for easy footers in websites.
https://github.com/rajascript/react-footer-comp
Last synced: 11 months ago
JSON representation
React based footer component for easy footers in websites.
- Host: GitHub
- URL: https://github.com/rajascript/react-footer-comp
- Owner: rajascript
- Created: 2018-05-25T12:30:16.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-28T13:42:48.000Z (almost 8 years ago)
- Last Synced: 2025-04-29T04:43:42.762Z (11 months ago)
- Language: JavaScript
- Size: 987 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# React Footer Comp
React Footer Comp is a react based footer component with dynamic year generation.
### [Try React Footer Comp](https://codesandbox.io/s/8xl4vwkz49)
React footer comp is developed by Raja Raghav.
#### Example

###### [Try it here](https://codesandbox.io/s/8xl4vwkz49)
## 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 Name | type | Example |
| ------------- |:-------------:| -----:|
| text | string | |
| years | array | |
| copyrightIcon | boolean | |
| copyrightText | boolean | |
| height | number | |
| bgColor | string | |
| copyrightTextStyle | style object | |
| copyrightIconStyle | style object | |
| textStyle | style object | |
## Note
React footer comp uses flexbox so all position based styling should be done using flexbox.