UNPKG

@syncfusion/ej2-react-base

Version:

A common package of Essential JS 2 React base, methods and class definitions

31 lines (30 loc) 1.05 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); /* eslint-disable @typescript-eslint/no-explicit-any */ /** * Dependency injection */ import * as React from 'react'; var Inject = /** @class */ (function (_super) { __extends(Inject, _super); function Inject() { return _super !== null && _super.apply(this, arguments) || this; } Inject.prototype.render = function () { return null; }; Inject.isService = true; return Inject; }(React.PureComponent)); export { Inject };