• Stars
    star
    339
  • Rank 124,632 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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