import{useEffect as r}from"react";import{debounce as e}from"lodash";function n(n){var t=n.callback,o=n.containerRef,c=n.wait,a=void 0===c?100:c;r((function(){var r=e(t,a),n=new ResizeObserver(r);return o.current&&n.observe(o.current),function(){n.disconnect()}}),[t,o])}export{n as default};
//# sourceMappingURL=useResizeObserver.js.map
