mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-08 18:41:30 -04:00
16 lines
387 B
TypeScript
16 lines
387 B
TypeScript
import { PropsWithChildren } from 'react';
|
|
import { FlatList } from 'react-native';
|
|
|
|
export default function VirtualizedListWrapper({ children }: PropsWithChildren) {
|
|
return (
|
|
<FlatList
|
|
data={[]}
|
|
keyExtractor={() => 'key'}
|
|
showsHorizontalScrollIndicator={false}
|
|
showsVerticalScrollIndicator={false}
|
|
renderItem={null}
|
|
ListHeaderComponent={<>{children}</>}
|
|
/>
|
|
);
|
|
}
|