igniteui-react-core
Version:
Ignite UI React Core.
24 lines (23 loc) • 1.11 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import * as React from 'react';
var IgrTemplateContent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrTemplateContent, _super);
function IgrTemplateContent(props) {
return _super.call(this, props) || this;
}
IgrTemplateContent.prototype.render = function () {
if (!this.props.template) {
return null;
}
var ele = React.createElement(this.props.template, { dataContext: this.props.dataContext });
return ele;
};
return IgrTemplateContent;
}(React.Component));
export { IgrTemplateContent };