import { Color } from '@ionic/core'; /** * Single tab configuration. */ export interface TabMetadata { /** Unique tab identifier */ value: string; /** Tab label (static) */ label?: string; /** Tab icon name */ icon?: string; /** Badge text or number */ badge?: string | number; /** Badge color */ badgeColor?: Color; /** Whether the tab is disabled */ disabled?: boolean; /** Reactive content key for label */ contentKey?: string; /** Component class name for content lookup */ contentClass?: string; /** Fallback for label */ contentFallback?: string; } /** * Metadata for the tabs component. */ export interface TabsMetadata { /** Tab items */ tabs: TabMetadata[]; /** Currently selected tab value */ selectedTab?: string; /** Tabs color */ color?: Color; /** Tab bar position */ position?: 'top' | 'bottom'; /** Tab layout */ layout?: 'icon-top' | 'icon-start' | 'icon-end' | 'icon-bottom' | 'icon-hide' | 'label-hide'; /** Unique token identifier */ token?: string; /** Mode style */ mode?: 'ios' | 'md'; /** Translucent background */ translucent?: boolean; }