diff --git a/apps/blog/src/components/DrawerComment/index.tsx b/apps/blog/src/components/DrawerComment/index.tsx index a64f3560..94a16d60 100644 --- a/apps/blog/src/components/DrawerComment/index.tsx +++ b/apps/blog/src/components/DrawerComment/index.tsx @@ -7,16 +7,20 @@ import CommentAvatar from "#components/CommentAvatar"; import Typography from "#components/Typography"; import styles from "./index.module.scss"; +export interface DrawerCommentProps { + closeDrawer(): void; +} + const cx = classNames(styles, "drawer-comment"); -function DrawerComment() { +function DrawerComment({ closeDrawer }: DrawerCommentProps) { const { data } = useComments({ count: 6 }); return (