"use strict";

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