"use strict";

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

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

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function useDrawerAction(action, context) {
  return (0, _dialog.default)(Object.assign({
    dialogType: 'drawer'
  }, action), context);
}

var _default = useDrawerAction;
exports.default = _default;