react-draggable-tags

[![Version](https://img.shields.io/npm/v/react-draggable-tags?logo=npm&style=flat-square&color=blue)](https://www.npmjs.com/package/react-draggable-tags) [![Downloads](https://img.shields.io/npm/dm/react-draggable-tags.svg?logo=npm&style=flat-square&color

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-draggable-tags
322361.0.6a year ago5 years agoMinified + gzip package size for react-draggable-tags in KB

Readme

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