useAnchoredOverlay()
function useAnchoredOverlay(options): {
ref: RefObject<HTMLElement>;
update: () => void;
};
Parameters
| Parameter | Type |
|---|---|
options | UseAnchoredOverlayOptions |
Returns
{
ref: RefObject<HTMLElement>;
update: () => void;
}
| Name | Type | Default value |
|---|---|---|
ref | RefObject<HTMLElement> | forwardRef |
update() | () => void | - |