<div id="mount-point"></div>
var Circle = React.createClass({
styler: {
width: "100px",
height: "100px",
mozBorderRadius: "50%",
webkitBorderRadius: "50%",
borderRadius: "50%",
background: "red"
},
render: function() {
return (
<div style = {this.styler}></div>
);
}
});
React.render(
<Circle />,
document.getElementById('mount-point'));
Also see: Tab Triggers