@hitachivantara/uikit-react-shared
Version:
Shared React contexts for the NEXT UI Kit.
18 lines (17 loc) • 658 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const react = require("react");
const createCache = require("@emotion/cache");
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
const createCache__default = /* @__PURE__ */ _interopDefault(createCache);
const defaultCacheKey = "hv";
const defaultEmotionCache = createCache__default.default({
key: defaultCacheKey,
prepend: true
});
const EmotionContext = react.createContext({
cache: defaultEmotionCache
});
exports.EmotionContext = EmotionContext;
exports.defaultCacheKey = defaultCacheKey;
exports.defaultEmotionCache = defaultEmotionCache;