Files
thrilltrack-explorer/src-old/components/parks/ParkPhotoGallery.tsx

21 lines
479 B
TypeScript

import { EntityPhotoGallery } from '@/components/upload/EntityPhotoGallery';
interface ParkPhotoGalleryProps {
parkId: string;
parkName: string;
}
/**
* Backwards-compatible wrapper for ParkPhotoGallery
* Uses the generic EntityPhotoGallery component internally
*/
export function ParkPhotoGallery({ parkId, parkName }: ParkPhotoGalleryProps) {
return (
<EntityPhotoGallery
entityId={parkId}
entityType="park"
entityName={parkName}
/>
);
}