MCPcopy Create free account
hub / github.com/DTStack/dt-react-component / IErrorBoundaryProps

Interface IErrorBoundaryProps

src/errorBoundary/index.tsx:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import LoadError from './loadError';
4
5interface IErrorBoundaryProps {
6 children?: ReactNode;
7 errorPage?: ReactNode;
8 onError?: (error: Error) => void;
9}
10
11interface IErrorBoundaryState {
12 hasError: boolean;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected