BadgeProps interface

Signature

  1. export interface BadgeProps extends HTMLAttributes<HTMLDivElement>

Import

  1. import { BadgeProps } from '@grafana/ui';

Properties

PropertyTypeDescription
colorBadgeColor
iconIconName
textReact.ReactNode
tooltipstring

color property

Signature

  1. color: BadgeColor;

icon property

Signature

  1. icon?: IconName;

text property

Signature

  1. text: React.ReactNode;

tooltip property

Signature

  1. tooltip?: string;