"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.ArchivedItemsList = void 0;
exports._ArchivedItemsList = _ArchivedItemsList;
var _react = _interopRequireDefault(require("react"));
var _designSystem = require("@wix/design-system");
var _ArchivedItemsListItem = require("./ArchivedItemsListItem");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/ArchivedItemsPanel/ArchivedItemsList.tsx";
function _ArchivedItemsList({
  items,
  onRestore,
  onDelete,
  dataHook = 'custom-columns'
}) {
  return /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
    direction: "vertical",
    dataHook: `${dataHook}-archived-items-list`,
    backgroundColor: "D60",
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 20,
      columnNumber: 5
    }
  }, items.map((item, index) => /*#__PURE__*/_react.default.createElement(_ArchivedItemsListItem.ArchivedItemsListItem, {
    key: item.id,
    item: item,
    showDivider: index < items.length - 1,
    onRestore: onRestore,
    onDelete: onDelete,
    dataHook: dataHook,
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 26,
      columnNumber: 9
    }
  })));
}
const ArchivedItemsList = exports.ArchivedItemsList = _ArchivedItemsList;
//# sourceMappingURL=ArchivedItemsList.js.map