1render() {
2 return (
3 <a className="navbar-brand" {... url ? {href: url} : {}}>Logo</a>
4 )
5}
1var InputComponent = React.createClass({
2 render: function() {
3 var required = true;
4 var disabled = false;
5
6 return (
7 <input type="text" disabled={disabled} required={required} />
8 );
9 }
10});