mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 20:16:39 -04:00
21 lines
No EOL
607 B
JavaScript
21 lines
No EOL
607 B
JavaScript
import React from 'react';
|
|
|
|
const PostCommenters = ({post}) => {
|
|
return (
|
|
<div className="post-commenters">
|
|
<div className="post-commenters-avatars">
|
|
{post.commentersArray.map(user => <UserAvatar key={user._id} user={user}/>)}
|
|
</div>
|
|
<div className="post-discuss">
|
|
<a href={Posts.getPageUrl(post)}>
|
|
<Icon name="comment" />
|
|
<span className="post-comments-count">{post.commentCount}</span>
|
|
<span className="sr-only">Comments</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
module.exports = PostCommenters;
|
|
export default PostCommenters; |