import { styled } from '@toeverything/components/ui'; import { CommentItem } from './CommentItem'; import { useComments } from './use-comments'; type CommentsProps = { activeCommentId: string; resolveComment: (blockId: string, commentId: string) => void; }; export const Comments = (props: CommentsProps) => { return Comment function coming soon...; }; const StyledText = styled('div')(({ theme }) => { return { display: 'flex', justifyContent: 'center', color: theme.affine.palette.menu, marginTop: theme.affine.spacing.lgSpacing, }; }); export const BakComments = ({ activeCommentId, resolveComment, }: CommentsProps) => { const { comments } = useComments(); return ( {comments?.map(comment => { return ( ); })} ); }; const StyledContainerForComments = styled('div')(({ theme }) => { return { position: 'relative', }; });