@tntd/drag
v0.0.1
Published
React simple drag
Downloads
2
Readme
@tntd/drag
简单的拖拽react组件
安装
npm install @tntd/drag --save
示例
import React from "react";
import Drag from "@tntd/drag";
export default props => {
return (<Drag><div style={{ width: '70px', color: 'red' }}>我可拖动</div></Drag>)
};