MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / WithTheme

Function WithTheme

code/styling/public/app.js:21887–21897  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21885 inherits(WithTheme, _React$Component);
21886
21887 function WithTheme() {
21888 var _temp, _this, _ret;
21889
21890 classCallCheck(this, WithTheme);
21891
21892 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
21893 args[_key] = arguments[_key];
21894 }
21895
21896 return _ret = (_temp = (_this = possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {}, _this.unsubscribeId = -1, _temp), possibleConstructorReturn(_this, _ret);
21897 }
21898
21899 // NOTE: This is so that isStyledComponent passes for the innerRef unwrapping
21900

Callers

nothing calls this directly

Calls 2

classCallCheckFunction · 0.85

Tested by

no test coverage detected