mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
e9d12c5a8b
(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; |