element-web/src/views/molecules/MessageComposer.js

18 lines
439 B
JavaScript
Raw Normal View History

var React = require('react');
var MessageComposerController = require("../../controllers/molecules/MessageComposer");
module.exports = React.createClass({
displayName: 'MessageComposer',
mixins: [MessageComposerController],
render: function() {
return (
<div className="mx_MessageComposer">
<textarea ref="textarea" onKeyDown={this.onKeyDown} />
</div>
);
},
});