A deadly simple drag and drop solution using react-spring
npm install react-spring-dndA deadly simple drag and drop solution using react-spring





---

``shell`
pnpm add react-spring-dndor
yarn add react-spring-dndor
npm i react-spring-dnd
`jsx
import SpringList from 'react-spring-dnd';
const App = () => {
return (
{'hello react spring dnd 👋⚛️🌀🦥'.split(' ').map((item) => (
{item}
))}
);
};
`
| Prop | Type | Default | Description |
| ----------- | ---------- | ------- | ------------------------------------------- |
| row | boolean | false | Display as row |onDragEnd
| | function | - | onDragEnd callback, (orderList) => void |children
| | array | []` | Draggable items |
Try FUTAKE in WeChat. A mini app for your inspiration moments. 🌈