react-drag-resizable
Version:
React component, which can be used to drag and resize, with location limits
48 lines (27 loc) • 1.45 kB
Markdown
# 使用说明
[](https://github.com/18888628835/react-drag-resizable#使用说明)   
这是一个 React 组件,我们能够用它实现拖拽、放大、缩小,限制移动位置、辅助线、吸附效果等功能。
使用方法非常简单!!试试吧!!
React component that allows you to drag and drop, zoom in and out, restrict movement positions, guides, adsorption, and more.
It's easy!! Try it!!
See the docs, tutorials and examples on the website:
[react-drag-resizable-docs](https://18888628835.github.io/react-drag-resizable/)
## Install
```bash
npm install react-drag-resizable --save
```
or
```bash
yarn add react-drag-resizable
```
## Usage
```js
import { DragResizableBox } from 'react-drag-resizable';
```
## Maintainers
[@qiuyanxi](https://github.com/18888628835)
## Contributing
Feel free to dive in! Open an issue or submit PRs.
非常欢迎你的加入!提一个 [Issue](https://github.com/18888628835/react-drag-resizable/issues) 或者提交一个 Pull Request。
## License
MIT © qiuyanxi