import React from "react"; import FlatList from "../FlatList"; import { FlatList as FlatListComponent } from "react-native-gesture-handler"; import type { FlatListProps } from "react-native"; import useSplitContentContainerStyles from "./useSplitContentContainerStyles"; /** * A FlatList wrapper that takes a single `style` prop and internally extracts * the appropriate style keys into the `contentContainerStyle` */ const SimpleStyleFlatList = React.forwardRef( ( { style: styleProp, data, ...rest }: Omit, "contentContainerStyle">, ref: React.Ref ) => { const { style, contentContainerStyle } = useSplitContentContainerStyles( styleProp, { isFlashList: false } ); return ( ); } ); export default SimpleStyleFlatList;