ReactJS: Circle

This entry is part 25 of 35 in the series React JS

See the Pen React: Circle by Pete (@peterbenoit) on CodePen.0

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'));