@clerk/clerk-js
Version:
Clerk JS library
8 lines (7 loc) • 351 B
TypeScript
/**
* Returns the closest profile scroll box to the event target.
* @param mode - The mode of the component.
* @param event - The event.
* @returns The closest profile scroll box to the event target.
*/
export declare function getClosestProfileScrollBox(mode: 'mounted' | 'modal', event?: React.MouseEvent<HTMLElement>): HTMLElement | undefined;