import React, { FC, HTMLAttributes } from 'react'; import { CommentWrapper } from '~/components/containers/CommentWrapper'; import { ICommentGroup } from '~/redux/types'; import { getURL } from '~/utils/dom'; import { CommentContent } from '~/components/node/CommentContent'; import * as styles from './styles.scss'; type IProps = HTMLAttributes & { is_empty?: boolean; is_loading?: boolean; comment_group?: ICommentGroup; is_same?: boolean; }; const Comment: FC = ({ comment_group, is_empty, is_same, is_loading, className, ...props }) => { return ( {comment_group.comments.map(comment => ( ))} ); }; export { Comment };