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

Function ComponentWithInjectedProps

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

Source from the content-addressed store, hash-verified

24369 var resultClass = (_a = /** @class */ function(_super) {
24370 (0, _tslib.__extends)(ComponentWithInjectedProps, _super);
24371 function ComponentWithInjectedProps(props) {
24372 var _this = _super.call(this, props) || this;
24373 // eslint-disable-next-line @typescript-eslint/no-explicit-any
24374 _this._styleCache = {};
24375 _this._onSettingChanged = _this._onSettingChanged.bind(_this);
24376 return _this;
24377 }
24378 ComponentWithInjectedProps.prototype.componentDidMount = function() {
24379 (0, _customizations.Customizations).observe(this._onSettingChanged);
24380 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected