通过传递特定的参数,提供需要传递给放置组件的数据(即 item ),组件渲染所需的props(即 collect ),以及等等。 import { useDrag } from 'react-dnd'; function ...
確定! 回上一頁