import { Photo } from '..'; import ImageCaption from './components/ImageCaption'; import ImagePhotoGrid from './components/ImagePhotoGrid'; import ImageContainer from './components/ImageContainer'; import { Camera, cameraFromPhoto } from '@/camera'; import { IoMdCamera } from 'react-icons/io'; import { NextImageSize } from '@/services/next-image'; export default function CameraImageResponse({ camera: cameraProp, photos, width, height, fontFamily, }: { camera: Camera photos: Photo[] width: NextImageSize height: number fontFamily: string }) { const { make, model } = cameraFromPhoto(photos[0], cameraProp); return ( {make.toLowerCase() !== 'apple' && {make}} {model} ); }