@vnmfify/core
Version:
```shell npm i @vnmfify/core -S ```
24 lines (23 loc) • 896 B
TypeScript
import { ReactNode } from "react";
interface PullRefreshRenderProps {
distance: number;
}
declare type PullRefreshRender = (props: PullRefreshRenderProps) => ReactNode;
export interface PullRefreshPullingProps {
children?: ReactNode | PullRefreshRender;
}
export declare function PullRefreshPulling(props: PullRefreshPullingProps): JSX.Element;
export interface PullRefreshLoosingProps {
children?: ReactNode;
}
export declare function PullRefreshLoosing(props: PullRefreshLoosingProps): JSX.Element;
export interface PullRefreshLoadingProps {
children?: ReactNode;
}
export declare function PullRefreshLoading(props: PullRefreshLoadingProps): JSX.Element;
export interface PullRefreshCompletedProps {
duration?: number;
children?: ReactNode;
}
export declare function PullRefreshCompleted(props: PullRefreshCompletedProps): JSX.Element;
export {};