import React from "react"; import { FlatList as RNFlatList, FlatListProps, Platform } from "react-native"; import Animated from "react-native-reanimated"; import { SceneComponent } from "../scene"; const AnimatePageView = Platform.OS === "web" ? RNFlatList : Animated.createAnimatedComponent(RNFlatList); export type TabFlatListProps = FlatListProps & { index: number; }; function FlatList(props: TabFlatListProps, ref: any) { return ( ); } export const TabFlatList = React.forwardRef(FlatList) as ( props: TabFlatListProps & { ref?: React.Ref>; } ) => React.ReactElement;