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/post_header.jsx | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 web/react/components/post_header.jsx

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

diff --git a/web/react/components/post_header.jsx b/web/react/components/post_header.jsx
new file mode 100644
index 000000000..129db6d14
--- /dev/null
+++ b/web/react/components/post_header.jsx
@@ -0,0 +1,23 @@
+// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+var UserProfile = require( './user_profile.jsx' );
+var PostInfo = require('./post_info.jsx');
+
+module.exports = React.createClass({
+    getInitialState: function() {
+        return {  };
+    },
+    render: function() {
+        var post = this.props.post;
+
+        return (
+            <ul className="post-header post-header-post">
+                <li className="post-header-col post-header__name"><strong><UserProfile userId={post.user_id} /></strong></li>
+                <li className="post-info--hidden">
+                    <PostInfo post={post} commentCount={this.props.commentCount} handleCommentClick={this.props.handleCommentClick} allowReply="true" isLastComment={this.props.isLastComment} />
+                </li>
+            </ul>
+        );
+    }
+});
-- 
cgit v1.2.3-1-g7c22

