/*
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 * as tslib_1 from "tslib";
import * as React from 'react';
var IgrTemplateContent = /** @class */ (function (_super) {
    tslib_1.__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 };
