import classNames from 'classnames' import { FormattedNumber } from 'components/FormattedNumber' import Text from 'components/Text' import { BN } from 'utils/helpers' interface ValueData extends FormattedNumberProps { format?: 'number' | 'string' } interface Props { label: string value: ValueData className?: string } export const LabelValuePair = ({ label, value, className }: Props) => (