import styled from 'styled-components'; import PropTypes from 'prop-types'; import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import colors from '~/js/config/colors'; import * as LogActions from '~/js/actions/LogActions'; const Wrapper = styled.div` width: 100%; font-size: 12px; color: ${colors.TEXT_SECONDARY}; padding: 22px 48px; border-top: 1px solid ${colors.DIVIDER}; display: flex; `; const A = styled.a` margin: 0px 6px; margin-right: 20px; `; const Copy = styled.div` margin-right: 20px; `; const Footer = ({ toggle }) => ( © 2018 SatoshiLabs Terms Show Log ); Footer.propTypes = { toggle: PropTypes.func.isRequired, }; const mapDispatchToProps = dispatch => ({ toggle: bindActionCreators(LogActions.toggle, dispatch), }); export default connect(null, mapDispatchToProps)(Footer);