/** @license MIT | @cube-dev/ui-kit v0.142.7 | 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. The `orientation` prop should be
* derived from the parent Tabs `placement` so drag math/visuals match the
* visible axis (horizontal for `top`/`bottom`, vertical for `left`/`right`).
*/
function DraggableTabList({ state, listRef, orderedKeys, orientation = "horizontal", onReorder, children }) {
	return /* @__PURE__ */ jsx(DraggableCollection, {
		state,
		listRef,
		orderedKeys,
		orientation,
		onReorder,
		children
	});
}

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