pitaya-launcher/js/components/launcher/category-header.js

20 lines
314 B
JavaScript
Raw Normal View History

2015-08-27 18:24:29 +02:00
var React = require('react');
module.exports = React.createClass({
2015-08-27 22:52:30 +02:00
propTypes: {
item: React.PropTypes.object.isRequired,
},
2015-08-27 18:24:29 +02:00
2015-08-27 22:52:30 +02:00
render: function() {
2015-08-27 18:24:29 +02:00
return (
2015-08-27 22:52:30 +02:00
<div className="category-header">
<span className="category-label">{this.props.item.label}</span>
2015-08-27 18:24:29 +02:00
</div>
);
}
});