import { PropsWithChildren } from 'react'; import { SystemIconName } from '../../DataDisplays/SystemIcon/SystemIcon.types'; export interface TextTabRootProps extends PropsWithChildren { barColor?: string; currentActiveTab?: number; isFit?: boolean; hasPadding?: boolean; isFull?: boolean; onChange?: (index: number) => void; } export interface TextTabProps extends PropsWithChildren { index: number; disabled?: boolean; className?: string; badgeNumber?: string | number; iconName?: SystemIconName; href?: string; } export interface TextTabPanelProps extends PropsWithChildren { index: number; } export type TextTabContextType = { barColor: string; activeTab: number; currentActiveTab: number; isFit: boolean; hasPadding: boolean; isFull: boolean; handleTabClick: (index: number) => void; };