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