var React = require('react'); var MEmoteTileController = require("../../controllers/molecules/MEmoteTile"); module.exports = React.createClass({ mixins: [MEmoteTileController], render: function() { var mxEvent = this.props.mxEvent; var content = mxEvent.getContent(); var name = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender(); return ( {name} {content.body} ); }, });