// @flow import React, { PureComponent } from 'react' import styled from 'styled-components' import { getOperationAmountNumber } from '@ledgerhq/live-common/lib/operation' import type { CryptoCurrency, Unit, Operation } from '@ledgerhq/live-common/lib/types' import Box from 'components/base/Box' import CounterValue from 'components/CounterValue' import FormattedVal from 'components/base/FormattedVal' const Cell = styled(Box).attrs({ px: 4, horizontal: false, alignItems: 'flex-end', })` width: 150px; ` type Props = { operation: Operation, currency: CryptoCurrency, unit: Unit, } class AmountCell extends PureComponent { render() { const { currency, unit, operation } = this.props const amount = getOperationAmountNumber(operation) return ( ) } } export default AmountCell