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

API Reference@grafana/uiConfirmModal

ConfirmModal variable

ConfirmModal variable

Signature

ConfirmModal: ({ isOpen, title, body, description, confirmText, confirmationText, dismissText, alternativeText, icon, onConfirm, onDismiss, onAlternative, }: ConfirmModalProps) => JSX.Element

Import

import { ConfirmModal } from '@grafana/ui';