Open noahlaux opened 1 year ago
This PR provides a way to provide options to the underlying ResizeObserver.
ResizeObserver
useResizeObserver(target, (entry) => setSize(entry.contentRect), { box: ['device-pixel-content-box']} );
Closes #298
This PR provides a way to provide options to the underlying
ResizeObserver
.Usage
Closes #298