Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
  <script src="https://fb.me/react-0.13.3.js"></script>
</head>
<body>
</body>
</html>
 
.DumbView {
  background: white;
  padding: 20px;
  width: 200px;
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: 0 3px 3px -2px rgba(0,0,0,0.3);
}
 
var DumbView = React.createClass({
  render () {
    return (
      <div className="DumbView">
        {this.props.children}
      </div>
    );
  }
});
var App = React.createClass({
  render () {
    return (
      <DumbView>
        <div>
          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris rutrum est ut cursus feugiat.
        </div>
      </DumbView>
    );
  }
})
React.render(<App />, document.body);
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
chantasticpro
0viewers