linkmore-design
Version:
π πlmη»δ»ΆεΊγπ
11 lines β’ 383 B
JavaScript
import React from 'react';
import { SortableContext, horizontalListSortingStrategy } from '@dnd-kit/sortable';
var SortableBox = function SortableBox(_ref) {
var items = _ref.items,
children = _ref.children;
return /*#__PURE__*/React.createElement(SortableContext, {
items: items,
strategy: horizontalListSortingStrategy
}, children);
};
export default SortableBox;