import type React from 'react'; import type { ReactNode } from 'react'; import type { StyleProp, ViewProps, ViewStyle } from 'react-native'; import type { SizeProp } from '../../tokens/size'; import type { ColorProp, SlotPropsConfig, SxProps } from '../../types/shared'; export interface TabsSlots { [key: string]: React.ComponentType; Root: React.ComponentType; TabBar: React.ComponentType; Tab: React.ComponentType; Indicator: React.ComponentType; } export interface TabItem { value: string; label: string; icon?: ReactNode; badge?: number | string; disabled?: boolean; } export interface TabsProps extends SlotPropsConfig { items: TabItem[]; value: string; onValueChange: (value: string) => void; variant?: 'primary' | 'secondary'; scrollable?: boolean; size?: SizeProp; color?: ColorProp; sx?: SxProps; style?: StyleProp; children?: (activeValue: string) => ReactNode; testID?: string; } export interface TabsContextValue { value: string; onValueChange: (value: string) => void; } //# sourceMappingURL=types.d.ts.map