Liferay.Loader.define("portal-search-web@6.0.114/js/shared/input_sets/DropZone",["module","exports","require","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react","liferay!frontend-js-react-web$react-dnd","./itemTypes"],(function(e,r,t){window;{Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=_interopRequireDefault(t("liferay!frontend-js-react-web$classnames")),n=_interopRequireDefault(t("liferay!frontend-js-react-web$react")),i=t("liferay!frontend-js-react-web$react-dnd"),o=t("./itemTypes");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s=function DropZone({index:e,move:r}){const[{isOver:t},s]=(0,i.useDrop)({accept:o.ITEM_TYPES.ITEM,collect:e=>({isOver:!!e.isOver()}),drop:t=>{r(t.index,e)}},[r]);return n.default.createElement("div",{className:"input-sets-item-drop-zone-root",ref:s,style:{padding:"10px 0"}},n.default.createElement("div",{className:(0,a.default)("input-sets-item-drop-zone-over",{"bg-primary":t}),style:{height:"4px"}}))};r.default=s}}));
//# sourceMappingURL=DropZone.js.map