Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
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;