import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2020-2026 GoodData Corporation
import { memo } from "react";
import { Overlay } from "../Overlay/Overlay.js";
import { ConfirmDialogBase } from "./ConfirmDialogBase.js";
/**
 * @internal
 */
export const ConfirmDialog = memo(function ConfirmDialog({ containerClassName, ...dialogProps }) {
    return (_jsx(Overlay, { alignPoints: [
            {
                align: "cc cc",
            },
        ], isModal: true, positionType: "fixed", containerClassName: containerClassName, children: _jsx(ConfirmDialogBase, { ...dialogProps }) }));
});
