UNPKG

@xyo-network/react-shared

Version:

Common React library for all XYO projects that use React

11 lines 455 B
import type { PropsWithChildren } from 'react'; export interface LoadResultProps<T> { /** @deprecated - use error prop */ apiError?: Error; /** Defer error handling to the children and load them */ error?: boolean; notFound: boolean; searchResult: T | undefined; } export declare function LoadResult<T>(props: PropsWithChildren<LoadResultProps<T>>): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=LoadResult.d.ts.map