react-query
Version:
Hooks for managing, caching and syncing asynchronous and remote data in React
13 lines (12 loc) • 495 B
TypeScript
import React from 'react';
interface QueryErrorResetBoundaryValue {
clearReset: () => void;
isReset: () => boolean;
reset: () => void;
}
export declare const useQueryErrorResetBoundary: () => QueryErrorResetBoundaryValue;
export interface QueryErrorResetBoundaryProps {
children: ((value: QueryErrorResetBoundaryValue) => React.ReactNode) | React.ReactNode;
}
export declare const QueryErrorResetBoundary: ({ children, }: QueryErrorResetBoundaryProps) => JSX.Element;
export {};