Start rendering messages with something more than the json
This commit is contained in:
parent
88e9ab02f9
commit
672258f604
5 changed files with 68 additions and 2 deletions
13
src/molecules/MTextTile.js
Normal file
13
src/molecules/MTextTile.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
var React = require('react');
|
||||
|
||||
module.exports = React.createClass({
|
||||
render: function() {
|
||||
var content = this.props.mxEvent.getContent();
|
||||
return (
|
||||
<span className="mx_MTextTile">
|
||||
{content.body}
|
||||
</span>
|
||||
);
|
||||
},
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue