mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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>
|
|
);
|
|
},
|
|
});
|
|
|