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">
|
|
|
|
<div className="unit r-size1of3">
|
|
|
|
{this.props.strategy.name}
|
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;
|