react-newsfeed
Version:
A customizable social media post component for React applications that mimics popular social media feeds with features like likes, comments, and image galleries.
12 lines (11 loc) • 413 B
TypeScript
interface PostActionsProps {
liked: boolean;
likeCount: number;
commentCount: number;
showComments: boolean;
onLike: () => void;
onToggleComments: () => void;
onClickShare: () => void;
}
export default function PostActions({ liked, likeCount, commentCount, showComments, onLike, onToggleComments, onClickShare, }: PostActionsProps): import("react/jsx-runtime").JSX.Element;
export {};