'use client';
import { AiFillApple } from 'react-icons/ai';
import { pathForCamera } from '@/app/path';
import { Camera, formatCameraText } from '.';
import EntityLink, {
EntityLinkExternalProps,
} from '@/components/entity/EntityLink';
import IconCamera from '@/components/icons/IconCamera';
import { isCameraApple } from '@/platforms/apple';
export default function PhotoCamera({
camera,
hideAppleIcon,
...props
}: {
camera: Camera
hideAppleIcon?: boolean
} & EntityLinkExternalProps) {
const isApple = isCameraApple(camera);
const showAppleIcon = !hideAppleIcon && isApple;
return (
: }
/>
);
}