import { Subscriber } from 'react-broadcast'; import is from 'styled-is'; import styled from 'styled-components'; import Baseline from '../baseline'; import typography from '../typography'; import theme from '../theme'; import remcalc from 'remcalc'; import PropTypes from 'prop-types'; import Title from './title'; import React from 'react'; const StyledTitle = Title.extend` ${typography.fontFamily}; ${typography.normal}; flex-grow: 1; flex-basis: ${remcalc(90)}; `; const Span = styled.span` display: inline-block; flex-direction: column; ${typography.fontFamily}; ${typography.normal}; font-size: ${remcalc(13)}; font-weight: 500; text-transform: uppercase; color: ${theme.greyTransparent}; transition: all 300ms ease; ${is('selected')` color: rgba(41, 49, 194, 0.5); `}; `; const Footer = ({ children, selected }) => { const render = () => ( {children} ); return {render}; }; Footer.propTypes = { children: PropTypes.node }; export default Baseline(Footer);