2015-06-19 13:01:17 +00:00
|
|
|
var React = require('react');
|
|
|
|
|
|
|
|
var MNoticeTileController = require("../../controllers/molecules/MNoticeTile");
|
|
|
|
|
|
|
|
module.exports = React.createClass({
|
2015-06-19 15:21:09 +00:00
|
|
|
displayName: 'MNoticeTile',
|
2015-06-19 13:01:17 +00:00
|
|
|
mixins: [MNoticeTileController],
|
|
|
|
|
|
|
|
render: function() {
|
|
|
|
var content = this.props.mxEvent.getContent();
|
|
|
|
return (
|
|
|
|
<span className="mx_MNoticeTile">
|
|
|
|
{content.body}
|
|
|
|
</span>
|
|
|
|
);
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|