2015-06-16 10:58:03 +00:00
|
|
|
var React = require('react');
|
|
|
|
|
2015-06-19 11:53:48 +00:00
|
|
|
var MTextTileController = require("../../controllers/molecules/MTextTile");
|
|
|
|
|
2015-06-16 10:58:03 +00:00
|
|
|
module.exports = React.createClass({
|
2015-06-19 11:53:48 +00:00
|
|
|
mixins: [MTextTileController],
|
|
|
|
|
2015-06-16 10:58:03 +00:00
|
|
|
render: function() {
|
|
|
|
var content = this.props.mxEvent.getContent();
|
|
|
|
return (
|
|
|
|
<span className="mx_MTextTile">
|
|
|
|
{content.body}
|
|
|
|
</span>
|
|
|
|
);
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|