CAUTION Still in development --> TODO: - Error Handling - CSS passing into children
import React, { useState } from 'react';
import { DragContainer } from 'react-dragset'
const MyApp = () => {
const [positions, setPositions] = useState({})
return (
<>
<DragContainer data={positions} setData={setPositions} >
// ...Elements you want to be able to drag
</DragContainer>
</>
)
}