From 07cab99dfbf43e3319d674e703ce4e650da5d142 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 18 Oct 2025 04:40:23 +0000 Subject: [PATCH] Add onLike and onComment props to FeedItemCard and wire buttons cgen-26fdcec7c7b54246bd9eccb96e487a2f --- client/components/social/FeedItemCard.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/components/social/FeedItemCard.tsx b/client/components/social/FeedItemCard.tsx index 9ce415b8..cdb4f069 100644 --- a/client/components/social/FeedItemCard.tsx +++ b/client/components/social/FeedItemCard.tsx @@ -19,6 +19,8 @@ interface FeedItemCardProps { isFollowing: boolean; onToggleFollow: (authorId: string) => void; onShare: (postId: string) => void; + onLike: (postId: string) => void; + onComment: (postId: string) => void; } export function FeedItemCard({ @@ -26,6 +28,8 @@ export function FeedItemCard({ isFollowing, onToggleFollow, onShare, + onLike, + onComment, }: FeedItemCardProps) { const [muted, setMuted] = useState(true); const hasMedia = item.mediaType !== "none" && Boolean(item.mediaUrl);