import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2021-2026 GoodData Corporation
import { createContext, useContext } from "react";
const DashboardConfigContext = createContext({
    menuButtonConfig: {},
});
DashboardConfigContext.displayName = "DashboardConfigContext";
/**
 * Context for all the dashboard level configuration of the presentation components.
 * @alpha
 */
export const useDashboardConfigContext = () => {
    return useContext(DashboardConfigContext);
};
/**
 * @internal
 */
export function DashboardConfigProvider({ children, ...components }) {
    return _jsx(DashboardConfigContext.Provider, { value: components, children: children });
}
//# sourceMappingURL=DashboardConfigContext.js.map