1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/public/js/components/log/LogEntry.jsx
2014-11-14 07:29:55 +01:00

19 lines
422 B
JavaScript

var React = require('react');
var LogEntry = React.createClass({
propTypes: {
event: React.PropTypes.object.isRequired
},
render: function() {
return (
<tr>
<td>{this.props.event.data.name}</td>
<td>{this.props.event.type}</td>
<td>{this.props.event.createdBy}</td>
</tr>
);
}
});
module.exports = LogEntry;