Extends Box with onResize
callback
Implemented using ResizeObserver webapi
import { ResizableBox } from "mui-extended"; const resizableBox = ( <ResizableBox onResize={(width: number, height: number) => {}}> {children} </ResizableBox> );
onResize
- a function callback to be fired when Box is resizedboxRef
- a ref to Box's divWrite an email to opensource@sodaru.com