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