UNPKG

@vnmfify/core

Version:

```shell npm i @vnmfify/core -S ```

16 lines (15 loc) 498 B
import { ViewProps } from "@vnxjs/components/types/View"; import { CSSProperties, ReactNode } from "react"; export interface PullRefreshProps extends ViewProps { style?: CSSProperties; loading?: boolean; disabled?: boolean; duration?: number; headHeight?: number; reachTop?: boolean; pullDistance?: number; children?: ReactNode; onRefresh?(): void; } declare function PullRefresh(props: PullRefreshProps): JSX.Element; export default PullRefresh;