You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
312 B
JavaScript
19 lines
312 B
JavaScript
'use strict';
|
|
const React = require('react');
|
|
const create = require('create-react-class');
|
|
|
|
let Event = create({
|
|
displayName: "genericStateEvent",
|
|
|
|
render: function() {
|
|
let event = this.props.event;
|
|
return (
|
|
<div className="body">
|
|
{event.plaintext()}
|
|
</div>
|
|
);
|
|
}
|
|
});
|
|
|
|
module.exports = Event;
|