@limetech/lime-elements
Version:
21 lines • 620 B
TypeScript
/**
* The Badge component can be used to display a notification badge,
* optionally with a number or a text label.
*
* @exampleComponent limel-example-badge
* @exampleComponent limel-example-badge-number
* @exampleComponent limel-example-badge-string
*/
export declare class Badge {
/**
* Label to display in the badge.
* Numeric labels larger than 999 will be rounded and abbreviated.
* String labels get truncated if their length is longer than
* six characters.
*/
label?: number | string;
render(): any;
private renderLabel;
private labelIsLarge;
}
//# sourceMappingURL=badge.d.ts.map