blob: 5fc88a61b4ea0203a8d6fccf72e2ef6b858e0716 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
// See License.txt for license information.
var utils = require('../utils/utils.jsx');
module.exports = React.createClass({
render: function() {
if (this.props.message) {
var inner = utils.textToJsx(this.props.message, this.props.options);
return (
<div>{inner}</div>
);
} else {
return <div/>
}
}
});
|