This project is usefull to make react compnent as dragable or open as dailogue(if it is a dialogue or draggable popup, closing functionaliy has to implemented from your end).
import Drag from "r-draggable";
<Drag headerToDrag="myheader" posX="50rem" posY="20rem"><Your Component to Drag /></Drag>
` You can pass your header(dragging element) class name or id to the property "headerToDrag". If you did not configure "headerToDrag" entire body of your component can draggable
`