import { HTMLProps } from 'react'; import * as React from 'react'; import { NavModelItem } from '@grafana/data'; import { IconName } from '../../types/icon'; export interface TabProps extends HTMLProps { label: string; active?: boolean; /** When provided, it is possible to use the tab as a hyperlink. Use in cases where the tabs update location. */ href?: string; icon?: IconName; onChangeTab?: (event: React.MouseEvent) => void; /** A number rendered next to the text. Usually used to display the number of items in a tab's view. */ counter?: number | null; /** Extra content, displayed after the tab label and counter */ suffix?: NavModelItem['tabSuffix']; truncate?: boolean; tooltip?: string; /** When true, the tab will be disabled and not clickable */ disabled?: boolean; } /** * https://developers.grafana.com/ui/latest/index.html?path=/docs/navigation-tabs--docs */ export declare const Tab: React.ForwardRefExoticComponent & React.RefAttributes>;