forked from matrix/element-web
19 lines
436 B
JavaScript
19 lines
436 B
JavaScript
var React = require('react');
|
|
|
|
var MTextTileController = require("../../../../src/controllers/molecules/MTextTile");
|
|
|
|
module.exports = React.createClass({
|
|
displayName: 'MTextTile',
|
|
mixins: [MTextTileController],
|
|
|
|
render: function() {
|
|
var content = this.props.mxEvent.getContent();
|
|
return (
|
|
<span className="mx_MTextTile">
|
|
{content.body}
|
|
</span>
|
|
);
|
|
},
|
|
});
|
|
|