UNPKG

@anterostecnologia/anteros-react-admin

Version:

Anteros components for React - Admin menu

30 lines (26 loc) 652 B
import React, { Component } from "react"; import PropTypes from "prop-types"; export default class AnterosFooter extends Component { static get componentName() { return "AnterosFooter"; } render() { let classFooter = "footer "; if (this.context.horizontal) { classFooter += " horizontal"; } return ( <footer className={classFooter}> <div className="footer-block buttons" /> <div className="footer-block author"> <ul> <li> {this.props.children} </li> </ul> </div> </footer> ); } } AnterosFooter.contextTypes = { horizontal: PropTypes.bool };