"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const usePCEditorItemWrap_1 = require("../../../hooks/usePCEditorItemWrap.js");
const utils_1 = require("../../../utils/index.js");
const b = (0, utils_1.block)('item-wrap');
const ItemWrap = ({ index, children }) => {
    const { blockRef, adminBlockMouseEvents } = (0, usePCEditorItemWrap_1.usePCEditorItemWrap)(index);
    return ((0, jsx_runtime_1.jsx)("div", { ref: blockRef, className: b(), ...adminBlockMouseEvents, children: children }));
};
exports.default = ItemWrap;
//# sourceMappingURL=ItemWrap.js.map
