mono/packages/ui/dist-lib/components/PhotoCard.d.ts
babayaga 7f63b07df5 lib
2026-01-20 12:14:45 +01:00

25 lines
859 B
TypeScript

interface PhotoCardProps {
pictureId: string;
image: string;
title: string;
author: string;
authorId: string;
likes: number;
comments: number;
isLiked?: boolean;
description?: string | null;
onClick?: (pictureId: string) => void;
onLike?: () => void;
onDelete?: () => void;
isVid?: boolean;
onEdit?: (pictureId: string) => void;
createdAt?: string;
authorAvatarUrl?: string | null;
showContent?: boolean;
responsive?: any;
variant?: 'grid' | 'feed';
apiUrl?: string;
}
declare const PhotoCard: ({ pictureId, image, title, author, authorId, likes, comments, isLiked, description, onClick, onLike, onDelete, isVid, onEdit, createdAt, authorAvatarUrl, showContent, responsive, variant, apiUrl }: PhotoCardProps) => import("react/jsx-runtime").JSX.Element;
export default PhotoCard;