From cf7a05f80f68b5b1c8bcc0089679dd497cec2506 Mon Sep 17 00:00:00 2001
From: =Corey Hulen <corey@hulen.com>
Date: Sun, 14 Jun 2015 23:53:32 -0800
Subject: first commit

---
 web/react/components/message_wrapper.jsx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 web/react/components/message_wrapper.jsx

(limited to 'web/react/components/message_wrapper.jsx')

diff --git a/web/react/components/message_wrapper.jsx b/web/react/components/message_wrapper.jsx
new file mode 100644
index 000000000..5fc88a61b
--- /dev/null
+++ b/web/react/components/message_wrapper.jsx
@@ -0,0 +1,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/>
+        }
+    }
+});
-- 
cgit v1.2.3-1-g7c22

