"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.ReorderModeDiscardChangesModal = ReorderModeDiscardChangesModal;
var _react = _interopRequireDefault(require("react"));
var _react2 = require("@wix/bex-core/react");
var _ActionModal = require("../ActionModal");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/CollectionToolbar/ReorderModeDiscardChangesModal.tsx";
function ReorderModeDiscardChangesModal(props) {
  const {
    translate: t
  } = (0, _react2.useWixPatternsContainer)();
  return /*#__PURE__*/_react.default.createElement(_ActionModal.MessageActionModal, {
    dataHook: "reorder-mode-discard-changes-modal",
    state: props.state.discardChangesModal,
    title: t('cairo.dragAndDrop.reorderMode.discardChanges.title'),
    content: t('cairo.dragAndDrop.reorderMode.discardChanges.description'),
    primaryButtonText: t('cairo.dragAndDrop.reorderMode.discardChanges.applyAndClose.CTA'),
    secondaryButtonText: t('cairo.dragAndDrop.reorderMode.discardChanges.cancel.CTA'),
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 13,
      columnNumber: 5
    }
  });
}
//# sourceMappingURL=ReorderModeDiscardChangesModal.js.map