MCPcopy Create free account
hub / github.com/microsoft/SandDance / WindowProvider

Function WindowProvider

docs/app/js/sanddance-app.js:31221–31225  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

31219 return (_a = _react.useContext(WindowContext).window) === null || _a === void 0 ? void 0 : _a.document;
31220};
31221var WindowProvider = function(props) {
31222 return _react.createElement(WindowContext.Provider, {
31223 value: props
31224 }, props.children);
31225};
31226
31227},{"react":"8ePka","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"jhXLC":[function(require,module,exports) {
31228var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected