import { getPortalRoot, useComponentClassName } from "@contember/ui";
import cn from "classnames";
import { SortableContainer } from "react-sortable-hoc";
import { jsx, Fragment } from "react/jsx-runtime";
const SortableRepeaterContainerInner = SortableContainer(({
  children
}) => /* @__PURE__ */ jsx(Fragment, {
  children
}));
const SortableRepeaterContainer = ({
  helperClass,
  ...props
}) => /* @__PURE__ */ jsx(SortableRepeaterContainerInner, {
  helperContainer: getPortalRoot,
  ...props,
  helperClass: cn(helperClass, useComponentClassName("root-no-display"))
});
SortableRepeaterContainer.displayName = "SortableRepeaterContainer";
export {
  SortableRepeaterContainer
};
//# sourceMappingURL=SortableRepeaterContainer.js.map
