We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d1e687 commit 0b3d6eaCopy full SHA for 0b3d6ea
js/react/lib/components/badge/badge.component.tsx
@@ -12,7 +12,7 @@ export const Badge = withAs(
12
(Component, { type, variant, count, ...rest }: BadgeProps) => {
13
const displayValue = () => {
14
if (type !== "numeric") return BADGE_TEXT[variant];
15
- if (count > LIMIT_NUMERIC) return "+9";
+ if (count > LIMIT_NUMERIC) return `+${LIMIT_NUMERIC}`;
16
return count;
17
};
18
0 commit comments