mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
20 lines
495 B
JavaScript
20 lines
495 B
JavaScript
var React = require('react');
|
|
|
|
var Strategy = React.createClass({
|
|
propTypes: {
|
|
strategy: React.PropTypes.object.isRequired
|
|
},
|
|
|
|
render: function() {
|
|
return (
|
|
<div className="line mal">
|
|
<div className="unit">
|
|
<strong>{this.props.strategy.name}</strong><br />
|
|
<em>{this.props.strategy.description}</em>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
});
|
|
|
|
module.exports = Strategy; |