/** @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/navigation/Tabs/DraggableTabList.tsx
/**
* Component that enables drag-and-drop reordering for tabs.
*
* Thin wrapper around DraggableCollection with horizontal orientation.
*/
function DraggableTabList({ state, listRef, orderedKeys, onReorder, children }) {
	return /* @__PURE__ */ jsx(DraggableCollection, {
		state,
		listRef,
		orderedKeys,
		orientation: "horizontal",
		onReorder,
		children
	});
}

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