Oops, commit the emote tile.

This commit is contained in:
David Baker 2015-06-16 18:18:34 +01:00
parent 3a16c8a764
commit acaff68748

View File

@ -0,0 +1,15 @@
var React = require('react');
module.exports = React.createClass({
render: function() {
var mxEvent = this.props.mxEvent;
var content = mxEvent.getContent();
var name = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender();
return (
<span className="mx_MEmoteTile">
{name} {content.body}
</span>
);
},
});