"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = require("react");
var _ConfigProvider = require("../../core/providers/ConfigProvider");
const useConfig = () => {
  const {
    preferred_theme,
    globalTheme,
    excludes,
    getConfig,
    getUiKitConfig,
    getDefaultConfig
  } = (0, _react.useContext)(_ConfigProvider.ConfigContext);
  return {
    preferred_theme,
    globalTheme,
    excludes,
    getConfig,
    getUiKitConfig,
    getDefaultConfig
  };
};
var _default = exports.default = useConfig;
//# sourceMappingURL=useConfig.js.map