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:
parent
398f44e232
commit
9531edcd19
10 changed files with 83 additions and 37 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue