react-super-footer
v1.0.3
Published
A library that adds makes sure that your footer isn't shown before content has loaded.
Downloads
2
Maintainers
Readme
react-super-footer
A library that adds makes sure that your footer isn't shown before content has loaded.
Install
npm install --save react-super-footer
Usage
import React, { Component } from 'react'
import SuperFooter from 'react-super-footer'
class Example extends Component {
render () {
return (
<SuperFooter lines={5} height={10}/>
)
}
}
| Property | Default | Required | Description | |----------:|--------------:|----------:|----------:| | lines | 2 | false | number of lines to render | | height | 14 | false | height of lines in pixels | | dynamic | false | false | if true, dynamically renders lines until the window height is reached |
License
MIT © snrn-Pontus