Tag 'ConditionalWrapper' expects at least '3' arguments, but the JSX factory 'React.createElement' provides at most '2'.ts(6229) code example
Example: react.createElement
//Below I use the React.createElement() function to create a virtual DOM
//representation of a <li> element node containing a text node of one (a.k.a.,
//React text) and an id of li1.
var reactNodeLi = React.createElement('li', {id:'li1'}, 'one');