MCPcopy Create free account
hub / github.com/docker/getting-started / ThemeProvider

Function ThemeProvider

app/src/static/js/react-bootstrap.js:9168–9181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9166 _inheritsLoose(ThemeProvider, _React$Component);
9167
9168 function ThemeProvider() {
9169 var _this;
9170
9171 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
9172 args[_key] = arguments[_key];
9173 }
9174
9175 _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
9176 _this.prefixes = new Map();
9177 Object.keys(_this.props.prefixes).forEach(function (key) {
9178 _this.prefixes.set(key, _this.props.prefixes[key]);
9179 });
9180 return _this;
9181 }
9182
9183 var _proto = ThemeProvider.prototype;
9184

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…