24 lines
549 B
JavaScript
24 lines
549 B
JavaScript
var React = require('react');
|
|
var Util = require('../util');
|
|
var AppIcon = require('./app-icon.jsx');
|
|
|
|
module.exports = React.createClass({
|
|
|
|
render: function() {
|
|
|
|
var desktopEntry = this.props.desktopEntry;
|
|
var label = desktopEntry.Name;
|
|
var category = desktopEntry.Categories;
|
|
var icon = desktopEntry.Icon;
|
|
|
|
return (
|
|
<li className="desktop-app">
|
|
<AppIcon className="desktop-app-icon" icon={icon} theme={this.props.theme} />
|
|
<span className="desktop-app-label">{label}</span>
|
|
</li>
|
|
);
|
|
|
|
}
|
|
|
|
});
|