import React from 'react';
export var ThemeEnum;

(function (ThemeEnum) {
  ThemeEnum["dark"] = "dark";
  ThemeEnum["light"] = "light";
})(ThemeEnum || (ThemeEnum = {}));

export var LocaleEnum;

(function (LocaleEnum) {
  LocaleEnum["zh"] = "zh-CN";
  LocaleEnum["en"] = "en-US";
})(LocaleEnum || (LocaleEnum = {})); // 初始化数据


var initialInfo = {
  theme: ThemeEnum.dark,
  locale: LocaleEnum.zh
};
/**
 * 提供一个全局共享Context， 包含：
 * 主题
 * 多语言
 */

export var BaseContext = /*#__PURE__*/React.createContext(initialInfo);

