UNPKG

@tanstack/react-query

Version:

Hooks for managing, caching and syncing asynchronous and remote data in React

12 lines (11 loc) 496 B
import * as React from 'react'; export 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;