0.1.0 • Published 12 months ago
taro-sortable-list v0.1.0
Taro Sortable List
Demo
Install
yarn add taro-sortable-list
Usage
// page.js
import SortableList from 'taro-sortable-list'
const data = [
{ id: 1, text: 'abc'},
{ id: 2, text: 'def'}
]
export default function MyPage () {
return (
<SortableList data={data} onSort={onSort} />
)
}
0.1.0
12 months ago