1
0
mirror of https://github.com/hexolan/panels.git synced 2026-05-20 11:39:22 +01:00

init frontend

This commit is contained in:
2023-09-27 20:27:25 +01:00
parent 4aa5cd6dfc
commit 9e6659c14e
63 changed files with 4901 additions and 0 deletions
@@ -0,0 +1,14 @@
import { Stack } from '@mantine/core'
import FeedComment from './FeedComment'
import type { Comment } from '../app/types/common'
function CommentsFeed({ comments }: { comments: Comment[] }) {
return (
<Stack spacing='sm'>
{Object.values(comments).map(comment => <FeedComment key={comment.id} comment={comment} />)}
</Stack>
)
}
export default CommentsFeed