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

20 lines
314 B
JavaScript

var React = require('react');
module.exports = React.createClass({
propTypes: {
item: React.PropTypes.object.isRequired,
},
render: function() {
return (
<div className="category-header">
<span className="category-label">{this.props.item.label}</span>
</div>
);
}
});