mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 14:44:58 +08:00
18 lines
404 B
JavaScript
18 lines
404 B
JavaScript
|
var React = require('react');
|
||
|
|
||
|
var MNoticeTileController = require("../../controllers/molecules/MNoticeTile");
|
||
|
|
||
|
module.exports = React.createClass({
|
||
|
mixins: [MNoticeTileController],
|
||
|
|
||
|
render: function() {
|
||
|
var content = this.props.mxEvent.getContent();
|
||
|
return (
|
||
|
<span className="mx_MNoticeTile">
|
||
|
{content.body}
|
||
|
</span>
|
||
|
);
|
||
|
},
|
||
|
});
|
||
|
|