import { formatUsdValue } from '../utils' import { MarketDataLoader } from './MarketHeader' const DayHighLow = ({ high, low, latest }) => { let rangePercent = 0 if (high) { rangePercent = ((parseFloat(latest) - parseFloat(low)) * 100) / (parseFloat(high) - parseFloat(low)) } return (
Daily Range
{low ? formatUsdValue(low) : }
{high ? formatUsdValue(high) : }
) } export default DayHighLow