Interface ComputedScoreProps

interface ComputedScoreProps {
    compact?: boolean;
    down: number;
    score?: undefined;
    showUnit?: boolean;
    up: number;
}

Properties

compact?: boolean

Forwarded to FormattedNumber.

down: number

number of downvotes

score?: undefined

Used as a discriminator between ComputedScoreProps and PrecomputedScoreProps

showUnit?: boolean

Whether to show the unit "Benis" after the number. Defaults to false.

up: number

number of upvotes