"use strict";

exports.__esModule = true;
exports.MultiCollectionBulkActionToolbar = void 0;
var _mobxReactLite = require("mobx-react-lite");
function _MultiCollectionBulkActionToolbar(props) {
  const {
    state,
    bulkActionToolbar
  } = props;
  const {
    bulk
  } = state;
  const {
    allSelected,
    clearSelection,
    modals: {
      openModal,
      closeModal,
      openConfirmModal,
      isModalOpen
    }
  } = bulk;
  return bulkActionToolbar({
    isModalOpen,
    allSelected,
    openModal,
    closeModal,
    openConfirmModal,
    clearSelection
  });
}
const MultiCollectionBulkActionToolbar = exports.MultiCollectionBulkActionToolbar = (0, _mobxReactLite.observer)(_MultiCollectionBulkActionToolbar);
//# sourceMappingURL=MultiCollectionBulkActionToolbar.js.map