JSFiddle - React, Tailwind, and code Playground
HTML
<div class="lefted">Drop here</div>
<div class="what_to_drop">Drag me to Drop</div>
CSS
.lefted {
}
.what_to_drop {
clear: left;
}
.drop_over {
background-color: red;
}
JavaScript
$('.what_to_drop').draggable();
$('.lefted').droppable({
hoverClass : 'drop_over',
tollerance : 'touch',
});