/** @jsx React.DOM */ var Nav = React.createClass({ render: function() { var cls = 'nav'; if (this.props.active) { cls += ' active'; } cls += " " + this.props.title; var title = ( {this.props.title} {this.props.showAlert ? : null } ); return (