interface LoadResultProps<T> {
    apiError?: Error;
    error?: boolean;
    notFound: boolean;
    searchResult: undefined | T;
}

Type Parameters

  • T

Properties

apiError?: Error
  • use error prop
error?: boolean

Defer error handling to the children and load them

notFound: boolean
searchResult: undefined | T