Skip to content
Snippets Groups Projects
post-comment-button.tsx 593 B
Newer Older
Yusuf Akgül's avatar
Yusuf Akgül committed
// import Link from "next/link";
// import { Icons } from "./icons";
// import { Button } from "./ui/button";

// export default function CommentButton(props: { data: any }) {
//     const postid = props.data.id
//     const replyCount = props.data.Comment.length

//     return (
//         <Link href={`/home/${postid}`}>
//             <Button type="submit" variant="ghost" size="lg" className="px-6 py-3" >
//                 <span className="pr-1">{replyCount}</span>
//                 <Icons.messagecircle className="h-5 w-5" />
//             </Button>
//         </Link>
//     )
// }