Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
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
Signature
style?: 'page' | 'alertbox';
title property
Title for the error boundary alert
Signature
title?: string;