// Helper function to get the anchor element
const getAnchorElement = (anchorRef) => {
    if (typeof anchorRef === 'string') {
        return document.getElementById(anchorRef);
    }
    return anchorRef?.current || null;
};

export { getAnchorElement };
//# sourceMappingURL=getAnchorElement.js.map
