BadgeProps interface
Signature
export interface BadgeProps extends HTMLAttributes<HTMLDivElement>
Import
import { BadgeProps } from '@grafana/ui';
Properties
Property | Type | Description |
---|---|---|
color | BadgeColor |
|
icon | IconName |
|
text | string |
|
tooltip | string |
color property
Signature
color: BadgeColor;
icon property
Signature
icon?: IconName;
text property
Signature
text: string;
tooltip property
Signature
tooltip?: string;