Draggable and resizable chat window

Hi I want my bot chat window to be draggable and resizable, css resize function makes it resizable only from the lower right corner. I wanted to introduce react resizable box in my container.tsx, but i find any new div is not recognised . Is there any way to do it via some hooks or anything else?