| 3 | import LoadError from './loadError'; |
| 4 | |
| 5 | interface IErrorBoundaryProps { |
| 6 | children?: ReactNode; |
| 7 | errorPage?: ReactNode; |
| 8 | onError?: (error: Error) => void; |
| 9 | } |
| 10 | |
| 11 | interface IErrorBoundaryState { |
| 12 | hasError: boolean; |
nothing calls this directly
no outgoing calls
no test coverage detected