import { type IconName } from '@grafana/ui';

interface TextBreadcrumb {
  text: string;
  href: string;
}

interface IconBreadcrumb extends TextBreadcrumb {
  icon: IconName;
}

export type Breadcrumb = TextBreadcrumb | IconBreadcrumb;
