This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/uiErrorBoundaryAlertProps

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
style ‘page’ | ‘alertbox’ ‘page’ will render full page error with stacktrace. ‘alertbox’ will render an . Default ‘alertbox’
title string Title for the error boundary alert

children property

Component to be wrapped with an error boundary

Signature

children: ReactNode;

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;