2.1.8 • Published 5 years ago
the-footer v2.1.8
the-footer
Footer of the-components
Installation
$ npm install the-footer --save
Usage
'use strict'
import React from 'react'
import { TheFooter, TheFooterStyle } from 'the-footer'
import { TheRouter } from 'the-router'
class ExampleComponent extends React.PureComponent {
render () {
const { Links, Link, CopyRight } = TheFooter
return (
<div>
<TheRouter>
<TheFooterStyle/>
<TheFooter>
<CopyRight year='2017' holder='the-labo'/>
<Links>
<Link to='/about/privacy-policy'>Privacy Policy</Link>
</Links>
</TheFooter>
</TheRouter>
</div>
)
}
}
export default ExampleComponent
Components
TheFooter
Footer of the-components
Props
Name | Type | Description | Default |
---|---|---|---|
role | 'contentinfo' |
TheFooterStyle
Style for TheFooter
Props
Name | Type | Description | Default |
---|---|---|---|
options | object | Style options | {} |
License
This software is released under the MIT License.