UNPKG

@slashid/react

Version:

React SDK for the /id platform

16 lines 502 B
import { ErrorState } from "../flow/flow.common"; import { Retry } from "../../../domain/types"; type ErrorProps = { context: ErrorState["context"]; retry: Retry; cancel: () => void; }; type ErrorTemplateProps = { children?: React.ReactNode | (({ context }: ErrorProps) => React.ReactNode); }; export declare const Error: { ({ children }: ErrorTemplateProps): import("react/jsx-runtime").JSX.Element | null; displayName: string; }; export {}; //# sourceMappingURL=index.d.ts.map