import { useCallback, useEffect, useRef, useState } from 'react' import type { PropertyPhoto } from '../../types/property' import VideoPlayer from './VideoPlayer' interface PhotoCarouselProps { photos: PropertyPhoto[] videoUrl?: string | null } function ChevronLeft() { return ( ) } function ChevronRight() { return ( ) } function NoPhotoPlaceholder() { return (