1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.DocsContext = void 0;
|
7 |
|
8 | var _react = require("react");
|
9 |
|
10 | var _global = require("global");
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | if (_global.window.__DOCS_CONTEXT__ === undefined) {
|
20 | _global.window.__DOCS_CONTEXT__ = (0, _react.createContext)({});
|
21 | _global.window.__DOCS_CONTEXT__.displayName = 'DocsContext';
|
22 | }
|
23 |
|
24 | var DocsContext = _global.window.__DOCS_CONTEXT__;
|
25 | exports.DocsContext = DocsContext; |
\ | No newline at end of file |