matrix-bot/src/views/molecules/MTextTile.js

19 lines
426 B
JavaScript
Raw Normal View History

var React = require('react');
var MTextTileController = require("../../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>
);
},
});