fix: add some tips for livedemo

This commit is contained in:
alt0
2022-09-28 15:48:29 +08:00
parent 7c5de7b20c
commit b9bc2d167e
3 changed files with 49 additions and 10 deletions
@@ -7,7 +7,20 @@ type CommentsProps = {
resolveComment: (blockId: string, commentId: string) => void;
};
export const Comments = ({
export const Comments = (props: CommentsProps) => {
return <StyledText>Comment coming soon...</StyledText>;
};
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) => {