UNPKG

@tanstack/react-query

Version:

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

15 lines (12 loc) 594 B
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) => JSX.Element; export { QueryErrorResetBoundary, QueryErrorResetBoundaryProps, QueryErrorResetBoundaryValue, useQueryErrorResetBoundary };