import { useContext } from 'react';
import { ConfigContext } from '../../core/providers/ConfigProvider';
const useConfig = () => {
  const {
    preferred_theme,
    globalTheme,
    excludes,
    getConfig,
    getUiKitConfig,
    getDefaultConfig
  } = useContext(ConfigContext);
  return {
    preferred_theme,
    globalTheme,
    excludes,
    getConfig,
    getUiKitConfig,
    getDefaultConfig
  };
};
export default useConfig;
//# sourceMappingURL=useConfig.js.map