Socket
Socket
Sign inDemoInstall

react-sortable-item

Package Overview
Dependencies
36
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "react-sortable-item",
"version": "0.0.1",
"version": "0.0.2",
"description": "Reorder elements in a list. Uses the native HTML5 Drag and Drop API.",

@@ -5,0 +5,0 @@ "main": "index.es5.js",

@@ -5,5 +5,17 @@ # react-sortable-item

See [example](http://aaronshaf.github.io/react-sortable-item/).
This library is quite different from others in that treats the reindexing strategy as an implementation detail.
## Install
```base
npm install react-sortable-item
```
## Example
```javascript
import SortableItem from 'react-sortable-item'
var ExampleSortableList = React.createClass({

@@ -10,0 +22,0 @@ handleDrop: function(dropPath, position, event) {},

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc