// (C) 2019-2025 GoodData Corporation
import { createContext, useContext } from "react";
/**
 * @internal
 */
export const useScrollContext = () => useContext(ScrollContext);
/**
 * @internal
 */
export const scrollContextDefault = {
    scrollIntoView: (_element, _bottomMargin, _isElementInvisibleCheck) => { },
};
export const ScrollContext = createContext(scrollContextDefault);
