import { DownTriangle, UpTriangle } from './DirectionTriangles' import FormatNumericValue from './FormatNumericValue' const Change = ({ change, decimals, prefix, size, suffix, }: { change: number | typeof NaN decimals?: number prefix?: string size?: 'small' | 'large' suffix?: string }) => { return !isNaN(change) ? (
0
? 'text-th-up'
: change < 0
? 'text-th-down'
: 'text-th-fgd-2'
}`}
>
{prefix ? prefix : ''}
{prefix ? prefix : ''}