import React from 'react' import PropTypes from 'prop-types' import { FormattedMessage } from 'react-intl' import { Header } from 'components/UI' import Lightning from 'components/Icon/Lightning' import Onchain from 'components/Icon/Onchain' import PaperPlane from 'components/Icon/PaperPlane' import messages from './messages' /** * Header for opayment form. */ class PayHeader extends React.PureComponent { static propTypes = { title: PropTypes.string.isRequired, type: PropTypes.oneOf(['onchain', 'offchain']) } render() { const { title, type } = this.props let logo, subtitle switch (type) { case 'onchain': logo = subtitle = break case 'offchain': logo = subtitle = break default: logo = subtitle =   } return
} } export default PayHeader