fix: add children prop to error boundary props (#1834)
This commit is contained in:
Родитель
4391b212f8
Коммит
13be983548
|
@ -8,6 +8,7 @@ import ReactPlugin from "./ReactPlugin";
|
||||||
export interface IAppInsightsErrorBoundaryProps {
|
export interface IAppInsightsErrorBoundaryProps {
|
||||||
appInsights: ReactPlugin
|
appInsights: ReactPlugin
|
||||||
onError: React.ComponentType<any>
|
onError: React.ComponentType<any>
|
||||||
|
children: React.ReactElement
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IAppInsightsErrorBoundaryState {
|
export interface IAppInsightsErrorBoundaryState {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче