'use client'
import { motion, AnimatePresence } from 'framer-motion'
import ImageGallery from './ImageGallery'
import type { Listing } from '@/lib/types'
interface Props { listing: Listing | null; onClose: () => void }
export default function ListingDetailPanel({ listing, onClose }: Props) {
return (
Price {listing.price_raw || '—'} Score {listing.score} Images{listing.title}