/react-draggable-tags

A draggable component for React. 一个基于React的可拖拽组件。

Primary LanguageJavaScriptMIT LicenseMIT

react-draggable-tags

Version Downloads License

A flexible, lightweight(<20kb) and easy-to-use draggable component. It also works on mobile now :)

一个轻量级的拖拽排序组件。该组件封装了一系列拖拽功能,可以灵活使用,也未提供任何样式,完全由你来控制(不一定是“tag”,你可以放入任意组件来拖拽排序)。支持移动端。

Installation

npm install --save react-draggable-tags
import {DraggableArea} from 'react-draggable-tags';

Documentation and Demo

https://ygyooo.github.io/react-draggable-tags

Demo Code

https://github.com/YGYOOO/react-draggable-tags/tree/master/example

Screenshots