Skip to content
Snippets Groups Projects

Resolve "[MIN-114] Browse comments on the map"

Merged Piotr Gawron requested to merge 68-min-114-browse-comments-on-the-map into development
3 files
+ 44
6
Compare changes
  • Side-by-side
  • Inline
Files
3
import { Icon } from '@/shared/Icon';
import { Comment } from '@/types/models';
import React from 'react';
interface CommentItemProps {
comment: Comment;
}
export const CommentItem = (commentItemProps: CommentItemProps): JSX.Element => {
const { comment } = commentItemProps;
const { owner, content } = comment;
return (
<div className="flex justify-between">
<div> {owner}</div>
<div> {content} </div>
<Icon name="arrow" className="h-6 w-6 fill-font-500" />
</div>
);
};
Loading