m.notice
This commit is contained in:
parent
2abea931ca
commit
1270bc3c62
5 changed files with 24 additions and 0 deletions
17
src/views/molecules/MNoticeTile.js
Normal file
17
src/views/molecules/MNoticeTile.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
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>
|
||||
);
|
||||
},
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue