import React, { FC } from 'react' import { ScrollView, ViewProps } from 'react-native' import { RefreshControl } from './RefreshControl' export const PullToRefreshScrollView: FC = (props) => { return ( } {...props} > {props.children} ) } export interface PullToRefreshScrollViewProps extends ViewProps { onRefresh?: (() => void) | undefined refreshing: boolean }