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