interface BadgeProps {
    badgeContent: number;
    children?: ReactNode;
    className?: string;
    isVisible?: boolean;
    max?: number;
}

Properties

badgeContent: number

badge content

children?: ReactNode

icon to place inside the badge

className?: string

Custom class to give the html component

isVisible?: boolean

visible or invisible

max?: number

max number to show

Generated using TypeDoc