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