Open dcsan opened 9 years ago
http://stackoverflow.com/questions/27530462/react-jsx-style-tag-error-on-render
var styles = { color:"red"; } return ( <div> <p style={styles}>something</p> </div> )
or @limingth way:
<p style={{color:'red'}}>Player Name: {this.props.myname}</p>
http://stackoverflow.com/questions/27530462/react-jsx-style-tag-error-on-render