import { RestartSwapAction } from 'actions/swap'; import bityLogo from 'assets/images/logo-bity.svg'; import shapeshiftLogo from 'assets/images/shapeshift-dark.svg'; import { shapeshiftReferralURL, bitboxReferralURL } from 'config'; import React, { PureComponent } from 'react'; import translate from 'translations'; import './SwapInfoHeader.scss'; export interface SwapInfoHeaderTitleProps { provider: string; restartSwap(): RestartSwapAction; } export default class SwapInfoHeaderTitle extends PureComponent { public render() { const { provider } = this.props; const logoToRender = provider === 'shapeshift' ? shapeshiftLogo : bityLogo; return (

{translate('SWAP_INFORMATION')}

{provider
); } }