"use strict";

var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
  return mod && mod.__esModule ? mod : {
    "default": mod
  };
};

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.BaseContext = exports.LocaleEnum = exports.ThemeEnum = void 0;

var react_1 = __importDefault(require("react"));

var ThemeEnum;

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

var LocaleEnum;

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


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

exports.BaseContext = react_1["default"].createContext(initialInfo);

