mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
14 lines
No EOL
380 B
JavaScript
14 lines
No EOL
380 B
JavaScript
const PostItem = props => {
|
|
return (
|
|
<div className="post">
|
|
<h3 className="post-title"><a href={Posts.getLink(props)} target={Posts.getLinkTarget(props)}>{props.title}</a></h3>
|
|
<p>{props.commentCount} comments</p>
|
|
<a href={Posts.getEditUrl(props)}>Edit</a>
|
|
<p>{props.url}</p>
|
|
</div>
|
|
)
|
|
};
|
|
|
|
// export default PostItem;
|
|
|
|
module.exports = PostItem; |