UNPKG

@workday/canvas-kit-react

Version:

The parent module that contains all Workday Canvas Kit React components

25 lines 759 B
import { CSProps } from '@workday/canvas-kit-styling'; export interface CountBadgeProps extends CSProps { /** * Sets the count displayed in the badge * * @default 0 */ count?: number; /** * Sets the maximum count to display before formatting the number. * E.g. Given a count of `100` and a limit of `100`, the badge would display `99+`. * * @default 1000 */ limit?: number; /** * Sets the variant of the Count Badge */ variant?: 'inverse'; } /** * `CountBadge` provides a quantity-based summary with dynamic values. */ export declare const CountBadge: import("@workday/canvas-kit-react/common").ElementComponent<"span", CountBadgeProps>; //# sourceMappingURL=CountBadge.d.ts.map