Interface FormattedNumberProps

interface FormattedNumberProps {
    compact?: boolean;
    value: number;
}

Properties

Properties

compact?: boolean

Whether to shorten the number if it gets too big. For example, "9k" instead of "9.231".

value: number

Value to format.