import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2026 GoodData Corporation
import { UiModalDialog } from "../UiModalDialog/UiModalDialog.js";
import { UiTransferOwnershipDialogCard, } from "./UiTransferOwnershipDialogCard.js";
/**
 * Transfer-ownership dialog — wraps `UiTransferOwnershipDialogCard` in
 * `UiModalDialog` for the full modal contract (portal, dimmed backdrop, focus
 * trap, Esc and backdrop dismiss).
 *
 * @internal
 */
export function UiTransferOwnershipDialog({ isOpen, ...cardProps }) {
    return (_jsx(UiModalDialog, { isOpen: isOpen, onClose: cardProps.onClose, children: _jsx(UiTransferOwnershipDialogCard, { ...cardProps }) }));
}
