import { ArrowUpward } from '@mui/icons-material' import clsx from 'clsx' import { formatPercentOf100 } from '@dao-dao/utils' export interface PricePercentChangeProps { value: number className?: string } export const PricePercentChange = ({ value, className, }: PricePercentChangeProps) => { const negative = value < 0 return (
{formatPercentOf100(Math.abs(value), 2)}