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

Properties

Properties

type: string

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

tooltip: string

A tooltip string displayed when hovering over the badge

label: string

An optional text label displayed in the badge

icon: string

An optional icon displayed in the badge