# taro-sortable-list

> A sortable list component for TaroJS - React

Latest version **0.1.0** (published 2023-06-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install taro-sortable-list
pnpm add taro-sortable-list
yarn add taro-sortable-list
bun add taro-sortable-list
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2023-06-08 |
| First published | 2023-06-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 693.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chris Liu |
| Maintainers | baredigit |

## Links

- npm: https://www.npmjs.com/package/taro-sortable-list
- npm.io page: https://npm.io/package/taro-sortable-list

## Dependencies (1)

- [lodash.debounce](https://npm.io/package/lodash.debounce.md) ^4.0.8

## Recent versions

- 0.1.0 (latest) — 2023-06-08

## README

## Taro Sortable List

### Demo

![DEMO](https://github.com/LIU9293/taro-sortable-list/blob/master/demo.gif?raw=true)

### Install

```
yarn add taro-sortable-list
```

### Usage

``` JavaScript
// 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} />
  )
}
```

---
_Source: https://npm.io/package/taro-sortable-list · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
