UNPKG

495 BTypeScriptView Raw
1import React from 'react';
2interface QueryErrorResetBoundaryValue {
3 clearReset: () => void;
4 isReset: () => boolean;
5 reset: () => void;
6}
7export declare const useQueryErrorResetBoundary: () => QueryErrorResetBoundaryValue;
8export interface QueryErrorResetBoundaryProps {
9 children: ((value: QueryErrorResetBoundaryValue) => React.ReactNode) | React.ReactNode;
10}
11export declare const QueryErrorResetBoundary: ({ children, }: QueryErrorResetBoundaryProps) => JSX.Element;
12export {};