import { InfiniteList } from '@/components/core'; import { StackContainer } from '@/components/shared'; import { ProtectedScreenName } from '@/core/enums'; import { withHook } from '@/utils'; import { Item } from '../components'; import { useListContainer } from '../containers'; import listAPI from '../services/apis/list'; const ListScreen = withHook(useListContainer, ({ photosQueryKey }) => { return ( } queryKey={photosQueryKey} queryFn={listAPI.fetchPhotos} estimatedItemSize={200} /> ); }); export default ListScreen;