SyntaxFix
Write A Post
Hire A Developer
Questions
For me It worked by passing html tag in props children
<MyComponent>This is <strong>not</strong> working.</MyComponent> var MyComponent = React.createClass({ render: function() { return ( <div>this.props.children</div> ); },