import React, { useContext } from 'react'; import PropTypes from 'prop-types'; import Identicon from '../../ui/identicon'; import { DISPLAY, FLEX_DIRECTION, TYPOGRAPHY, COLORS, FONT_WEIGHT, ALIGN_ITEMS, JUSTIFY_CONTENT, TEXT_ALIGN, } from '../../../helpers/constants/design-system'; import Box from '../../ui/box/box'; import { I18nContext } from '../../../contexts/i18n'; import Typography from '../../ui/typography'; export default function NetworkAccountBalanceHeader({ networkName, accountName, accountBalance, tokenName, accountAddress, }) { const t = useContext(I18nContext); return ( {networkName} {accountName} {t('balance')} {accountBalance} {tokenName} ); } NetworkAccountBalanceHeader.propTypes = { networkName: PropTypes.string, accountName: PropTypes.string, accountBalance: PropTypes.string, tokenName: PropTypes.string, accountAddress: PropTypes.string, };