@codecademy/gamut
68.2.168.2.2-alpha.8940e8.0
dist/PopoverContainer/hooks.d.ts~
dist/PopoverContainer/hooks.d.tsModified+2−2
Index: package/dist/PopoverContainer/hooks.d.ts
===================================================================
--- package/dist/PopoverContainer/hooks.d.ts
+++ package/dist/PopoverContainer/hooks.d.ts
@@ -1,6 +1,6 @@
-export declare const useScrollingParentsEffect: (targetRef: React.RefObject<Pick<HTMLDivElement, 'getBoundingClientRect' | 'contains'>>, setTargetRect: (rect: DOMRect | undefined) => void) => void;
-export declare const useResizingParentEffect: (targetRef: React.RefObject<Pick<HTMLDivElement, 'getBoundingClientRect' | 'contains'>>, setTargetRect: (rect: DOMRect | undefined) => void) => void;
+export declare const useScrollingParentsEffect: (targetRef: React.RefObject<Pick<HTMLDivElement, "getBoundingClientRect" | "contains">>, setTargetRect: (rect: DOMRect | undefined) => void) => void;
+export declare const useResizingParentEffect: (targetRef: React.RefObject<Pick<HTMLDivElement, "getBoundingClientRect" | "contains">>, setTargetRect: (rect: DOMRect | undefined) => void) => void;
/**
* Memoizes the list of scrolling parent elements for a target element.
* This avoids expensive DOM traversals and getComputedStyle calls on every render.
* Returns an empty array if the target element is not available.