import { cn } from '@/utils/cn' import Image from 'next/image' type ImageWrapperProps = { src: string alt?: string isListing?: boolean } export function ImageWrapper({ src, alt, isListing }: ImageWrapperProps) { return (
{alt
{!isListing && alt && (
{alt}
)}
) }