mirror of
https://github.com/hexolan/panels.git
synced 2026-05-20 03:29:23 +01:00
14 lines
376 B
TypeScript
14 lines
376 B
TypeScript
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 |