ConfirmButton variable
ConfirmButton variable
Signature
ConfirmButton: React.FunctionComponent<{
disabled?: boolean | undefined;
size?: ComponentSize | undefined;
className?: string | undefined;
onClick?: (() => void) | undefined;
onConfirm: () => void;
confirmText?: string | undefined;
confirmVariant?: ButtonVariant | undefined;
closeOnConfirm?: boolean | undefined;
onCancel?: (() => void) | undefined;
}>
Import
import { ConfirmButton } from '@grafana/ui';