1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

comment rendering

This commit is contained in:
muerwre 2019-08-27 13:37:53 +07:00
parent 398f44e232
commit 9531edcd19
10 changed files with 83 additions and 37 deletions

View file

@ -12,13 +12,13 @@ interface IProps {
}
const NodeComments: FC<IProps> = ({ comments }) => (
<div className={styles.wrap}>
<Filler />
<Group className={styles.wrap}>
{comments.map(comment => (
<Comment key={comment.id} comment={comment} />
))}
</div>
<Filler />
</Group>
);
export { NodeComments };