@grafana/ui
Version:
Grafana Components Library
17 lines (16 loc) • 524 B
TypeScript
import * as React from 'react';
import { IconName } from '../../types/icon';
export interface TabConfig {
label: string;
value: string;
content: React.ReactNode;
icon: IconName;
}
export interface TabbedContainerProps {
tabs: TabConfig[];
defaultTab?: string;
closeIconTooltip?: string;
onClose: () => void;
testId?: string;
}
export declare function TabbedContainer({ tabs, defaultTab, closeIconTooltip, onClose, testId }: TabbedContainerProps): import("react/jsx-runtime").JSX.Element;