mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
23 lines
No EOL
729 B
JavaScript
23 lines
No EOL
729 B
JavaScript
import React from 'react';
|
|
|
|
const PostsCommenters = ({post}) => {
|
|
return (
|
|
<div className="posts-commenters">
|
|
<div className="posts-commenters-avatars">
|
|
{post.commentersArray.map(user => <Telescope.components.UsersAvatar key={user._id} user={user}/>)}
|
|
</div>
|
|
<div className="posts-commenters-discuss">
|
|
<a href={Posts.getPageUrl(post)}>
|
|
<Telescope.components.Icon name="comment" />
|
|
<span className="posts-commenters-comments-count">{post.commentCount}</span>
|
|
<span className="sr-only">Comments</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
PostsCommenters.displayName = "PostsCommenters";
|
|
|
|
module.exports = PostsCommenters;
|
|
export default PostsCommenters; |