<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Componente Simple</title>
</head>
<body>
<div id="contenido"></div>
<script src='https://cdn.rawgit.com/bradleyboy/codepen-react/master/dist/codepen-react-0.1.1.js'></script>
<script src="js/index.js"></script>
</body>
</html>
/*Downloaded from https://www.codeseek.co/0utKast/componente-simple-QbyOao */
var MensajeHola = React.createClass({
render: function() {
return <div>Hola {this.props.nombre}</div>;
}
});
React.render(<MensajeHola nombre="Juan" />,document.getElementById('contenido'));