/* @flow */ import withColours from 'Components/utils/withColours' import { compose } from 'ramda' import React from 'react' import { connect } from 'react-redux' import './Banner.css' import type { Node } from 'react' import type { State } from 'Types/State' type PropTypes = { hidden: boolean, fontAwesomeIcon: string, children: Node } type ConnectedPropTypes = PropTypes & { colours: { textColourOnWhite: string } } let Banner = ({ hidden = false, fontAwesomeIcon, colours: { textColourOnWhite }, children }: ConnectedPropTypes) => !hidden ? (