useResizeObserver
Observes and reacts to the dimensions of an element.
Examples
Default
Could not load examples for Primer component library: product
With callback dependencies
Could not load examples for Primer component library: product
API
Loading data for useResizeObserver...