chore: add retry method to loadable types (#14152)

This commit is contained in:
stefanprobst 2020-06-15 14:21:03 +02:00 committed by GitHub
parent eef40c5948
commit 66778c7ab0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ export type LoadableBaseOptions<P = {}> = LoadableGeneratedOptions & {
error?: Error | null
isLoading?: boolean
pastDelay?: boolean
retry?: () => void
timedOut?: boolean
}) => JSX.Element | null
loader?: Loader<P> | LoaderMap