mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
8366beb2b9
(relates to #34)
19 lines
420 B
JavaScript
19 lines
420 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 r-size1of3">
|
|
{this.props.strategy.name}
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
});
|
|
|
|
module.exports = Strategy; |