ErrorBoundaryAlertProps interface

Props for the ErrorBoundaryAlert component

Signature

  1. export interface ErrorBoundaryAlertProps

Import

  1. import { ErrorBoundaryAlertProps } from '@grafana/ui';

Properties

PropertyTypeDescription
childrenReactNodeComponent to be wrapped with an error boundary
dependenciesany[]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 . Default ‘alertbox’
titlestringTitle for the error boundary alert

children property

Component to be wrapped with an error boundary

Signature

  1. children: ReactNode;

dependencies property

Will re-render children after error if recover values changes

Signature

  1. dependencies?: any[];

style property

‘page’ will render full page error with stacktrace. ‘alertbox’ will render an . Default ‘alertbox’

Signature

  1. style?: 'page' | 'alertbox';

title property

Title for the error boundary alert

Signature

  1. title?: string;