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