element-web/src/views/molecules/MNoticeTile.js

18 lines
404 B
JavaScript
Raw Normal View History

2015-06-19 15:01:17 +02:00
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>
);
},
});