import type {A11yProps} from './commonTypes'; import type {StyleProp, TextStyle, ViewStyle} from 'react-native'; export type TabControlProps = A11yProps & { values: value[]; label?: string; labelStyle?: StyleProp; selectedIndex?: number; backgroundTabColor?: string; tabTintColor?: string; textColor?: string; selectedTextColor?: string; style?: StyleProp; containerStyle?: StyleProp; }; type value = { key: string; renderItem: React.JSXElementConstructor; };