diff --git a/src/molecules/MEmoteTile.js b/src/molecules/MEmoteTile.js new file mode 100644 index 00000000..19e57c5f --- /dev/null +++ b/src/molecules/MEmoteTile.js @@ -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 ( + + {name} {content.body} + + ); + }, +}); +