score:2

render() {
    return <div style={this.props.style}>{/* Content Here */}</div>
}

score:2

<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react-dom.min.js"></script>
<div id="main"></div>

Related Query

More Query from same tag