interface PackageCompatibilityBadge {
    icon?: string;
    label?: string;
    tooltip: string;
    type: string;
}

Properties

icon?: string

An optional icon displayed in the badge

label?: string

An optional text label displayed in the badge

tooltip: string

A tooltip string displayed when hovering over the badge

type: string

A type in "safe", "unsafe", "warning", "neutral" applied as a CSS class