mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
19 lines
416 B
React
19 lines
416 B
React
|
var React = require('react');
|
||
|
|
||
|
var Event = 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 = Event;
|