"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
exports.useDialogTableAction = useDialogTableAction;
var _dialog = _interopRequireDefault(require("./dialog"));
var _ = require("..");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function useDialogTableAction(action, context) {
  return (0, _dialog.default)(Object.assign({
    component: _.ProTable,
    closeable: true,
    size: 'medium'
  }, action), context);
}
var _default = useDialogTableAction;
exports.default = _default;