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

19 lines
436 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({
displayName: 'MNoticeTile',
2015-06-19 15:01:17 +02:00
mixins: [MNoticeTileController],
render: function() {
var content = this.props.mxEvent.getContent();
return (
<span className="mx_MNoticeTile">
{content.body}
</span>
);
},
});