d

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore.

15 St Margarets, NY 10033
(+381) 11 123 4567
ouroffice@aware.com

 

KMF

React Component For Draggable Elements – drag-react

This package is a React.js component for creating draggable elements. It makes it easy to grab the DOM element and manipulate its position using mouse and touch.

How to use it:

1. Installation.

# Yarn
$ yarn add drag-react

# NPM
$ npm i drag-react

2. Import the drag-react

import { Draggable } from ‘drag-react’;

3. Create a draggable element in your app.

<Draggable>
  <div>Draggable Element</div>
</Draggable>

4. Available props.

style?: Object,
className?: string,
children: any

Preview:

Download Details:

Author:

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website:

License:

Credit: Source link

Previous Next
Close
Test Caption
Test Description goes like this