'use client'; import { Heart } from 'lucide-react'; import { useWishlist } from '@/presentation/providers/wishlist-provider'; import type { NewWishlistItem } from '@/domain/wishlist/entities'; interface WishlistButtonProps { item: NewWishlistItem; size?: 'sm' | 'md'; className?: string; } export default function WishlistButton({ item, size = 'md', className = '' }: WishlistButtonProps) { const { toggleWishlist, isWishlisted } = useWishlist(); const saved = isWishlisted(item.id); const sizeClasses = size === 'sm' ? 'h-8 w-8' : 'h-10 w-10'; const iconSize = size === 'sm' ? 'h-4 w-4' : 'h-5 w-5'; return ( ); }