2015-06-16 12:58:03 +02:00
|
|
|
var React = require('react');
|
|
|
|
|
2015-06-23 15:40:50 +02:00
|
|
|
var MTextTileController = require("../../../../src/controllers/molecules/MTextTile");
|
2015-06-19 13:53:48 +02:00
|
|
|
|
2015-06-16 12:58:03 +02:00
|
|
|
module.exports = React.createClass({
|
2015-06-19 17:21:09 +02:00
|
|
|
displayName: 'MTextTile',
|
2015-06-19 13:53:48 +02:00
|
|
|
mixins: [MTextTileController],
|
|
|
|
|
2015-06-16 12:58:03 +02:00
|
|
|
render: function() {
|
|
|
|
var content = this.props.mxEvent.getContent();
|
|
|
|
return (
|
|
|
|
<span className="mx_MTextTile">
|
|
|
|
{content.body}
|
|
|
|
</span>
|
|
|
|
);
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|