/** @license MIT | @cube-dev/ui-kit v0.135.1 | Cube Dev Team */
import { DraggableCollection } from "../../shared/DraggableCollection.js";
import { jsx } from "react/jsx-runtime";

//#region src/components/fields/ListBox/DraggableListBox.tsx
/**
* Wrapper that enables drag-and-drop reordering for a vertical ListBox.
*
* Thin wrapper around DraggableCollection with vertical orientation.
*/
function DraggableListBox({ state, listRef, orderedKeys, onReorder, children }) {
	return /* @__PURE__ */ jsx(DraggableCollection, {
		state,
		listRef,
		orderedKeys,
		orientation: "vertical",
		onReorder,
		children
	});
}

//#endregion
export { DraggableListBox };
//# sourceMappingURL=DraggableListBox.js.map