UNPKG

igniteui-react-core

Version:
20 lines (19 loc) 849 B
/* 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 React from 'react'; export class IgrTemplateContent extends React.Component { constructor(props) { super(props); } render() { if (!this.props.template) { return null; } let ele = React.createElement(this.props.template, { dataContext: this.props.dataContext }); return ele; } }