ErrorBoundaryAlertProps interface
Props for the ErrorBoundaryAlert component
Signature
export interface ErrorBoundaryAlertProps
Import
import { ErrorBoundaryAlertProps } from '@grafana/ui';
Properties
Property | Type | Description |
---|---|---|
children | ReactNode | Component to be wrapped with an error boundary |
dependencies | any[] | Will re-render children after error if recover values changes |
style | ‘page’ | ‘alertbox’ | ‘page’ will render full page error with stacktrace. ‘alertbox’ will render an |
title | string | Title for the error boundary alert |
children property
Component to be wrapped with an error boundary
Signature
children: ReactNode;
dependencies property
Will re-render children after error if recover values changes
Signature
dependencies?: any[];
style property
‘page’ will render full page error with stacktrace. ‘alertbox’ will render an . Default ‘alertbox’
Signature
style?: 'page' | 'alertbox';
title property
Title for the error boundary alert
Signature
title?: string;