import React from 'react' import { ListWrapper } from './styles' import { Fade, Placeholder, PlaceholderLine } from 'rn-placeholder' import { View } from 'react-native' export const FlatListBusinessListFooter = (props : any) => { const { businessesList, paginationProps, isChewLayout } = props return ( <> {(businessesList.loading || !businessesList?.fetched) && ( <> {[ ...Array( paginationProps.nextPageItems ? paginationProps.nextPageItems : 8, ).keys(), ].map((item, i) => ( ))} )} ) }