19 lines
446 B
JavaScript
19 lines
446 B
JavaScript
|
var React = require('react');
|
||
|
|
||
|
var MNoticeTileController = require("../../../../src/controllers/molecules/MNoticeTile");
|
||
|
|
||
|
module.exports = React.createClass({
|
||
|
displayName: 'MNoticeTile',
|
||
|
mixins: [MNoticeTileController],
|
||
|
|
||
|
render: function() {
|
||
|
var content = this.props.mxEvent.getContent();
|
||
|
return (
|
||
|
<span className="mx_MNoticeTile">
|
||
|
{content.body}
|
||
|
</span>
|
||
|
);
|
||
|
},
|
||
|
});
|
||
|
|