2014-11-01 15:19:10 +01:00
|
|
|
var React = require('react');
|
|
|
|
|
2014-11-01 15:53:14 +01:00
|
|
|
var Strategy = React.createClass({
|
2014-11-01 15:19:10 +01:00
|
|
|
propTypes: {
|
2014-11-01 15:53:14 +01:00
|
|
|
strategy: React.PropTypes.object.isRequired
|
2014-11-01 15:19:10 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
render: function() {
|
2014-11-01 15:53:14 +01:00
|
|
|
return (
|
|
|
|
<div className="line mal">
|
2014-11-03 21:27:47 +01:00
|
|
|
<div className="unit">
|
|
|
|
<strong>{this.props.strategy.name}</strong><br />
|
|
|
|
<em>{this.props.strategy.description}</em>
|
2014-11-01 15:19:10 +01:00
|
|
|
</div>
|
2014-11-01 15:53:14 +01:00
|
|
|
</div>
|
|
|
|
);
|
2014-11-01 15:19:10 +01:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2014-11-01 15:53:14 +01:00
|
|
|
module.exports = Strategy;
|