diff --git a/types/react-native-tab-view/index.d.ts b/types/react-native-tab-view/index.d.ts index 8118239f8a..a6e6b27735 100644 --- a/types/react-native-tab-view/index.d.ts +++ b/types/react-native-tab-view/index.d.ts @@ -202,20 +202,25 @@ export type IndicatorProps< export type TabBarProps = SceneRendererProps< T > & { - scrollEnabled?: boolean + getLabelText?: (scene: Scene) => string | undefined | null + getAccessible?: (scene: Scene) => boolean + getAccessibilityLabel?: (scene: Scene) => string | undefined | null + getTestID?: (scene: Scene) => string | undefined | null + renderIcon?: (scene: Scene) => ReactNode + renderLabel?: (scene: Scene) => ReactNode + renderIndicator?: (props: IndicatorProps) => ReactNode + renderBadge?: (scene: Scene) => ReactNode + onTabPress?: (scene: Scene) => void + onTabLongPress?: (scene: Scene) => void pressColor?: string pressOpacity?: number - getLabelText?: (scene: Scene) => string | undefined | null - renderLabel?: (scene: Scene) => ReactNode - renderIcon?: (scene: Scene) => ReactNode - renderBadge?: (scene: Scene) => ReactNode - renderIndicator?: (props: IndicatorProps) => ReactNode - onTabPress?: (scene: Scene) => void + scrollEnabled?: boolean + bounces?: boolean + useNativeDriver?: boolean; tabStyle?: StyleProp indicatorStyle?: StyleProp labelStyle?: StyleProp style?: StyleProp - useNativeDriver?: boolean; } export class TabBar extends PureComponent> {}