import { Dispatch, ReactNode, SetStateAction } from 'react'; import { IconNamesType } from '../../../../../../../../../src/utils'; import { TabPanelProps } from './TabTypes'; export interface InternalTabProps extends Omit, "content"> { id: string; name: ReactNode; disabled: boolean; content: TabPanelProps; href?: string; icon?: IconNamesType; closable?: boolean; closableId?: string; onClose?: (index: number) => void; } export interface InteractiveTabProps { tabIndex: number; vertical: boolean; active: boolean; focus: boolean; tabs: InternalTabProps[]; activeTabIndex: number; setActiveTabIndex: Dispatch>; setActivePanelIndex: Dispatch>; setFocus: Dispatch>; }