"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
exports.useDangerPopConfirmAction = useDangerPopConfirmAction;

var _utils = require("@teamix/utils");

var _dialog = require("./dialog");

function useDangerPopConfirmAction(action, context) {
  return (0, _dialog.useDialogAction)((0, _utils.deepMerge)({
    dialogType: 'pop',
    popType: 'danger',
    align: 'br'
  }, action), context);
}

var _default = useDangerPopConfirmAction;
exports.default = _default;