Menu

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.

Enterprise Open source

ErrorBoundaryAlertProps interface

Props for the ErrorBoundaryAlert component

Signature

typescript
export interface ErrorBoundaryAlertProps 

Import

typescript
import { ErrorBoundaryAlertProps } from '@grafana/ui';

Properties

PropertyTypeDescription
childrenReactNodeComponent to be wrapped with an error boundary
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

typescript
children: ReactNode;

style property

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

Signature

typescript
style?: 'page' | 'alertbox';

title property

Title for the error boundary alert

Signature

typescript
title?: string;