Files
thrilltrack-explorer/src-old/components/companies/PropertyOwnerPhotoGallery.tsx

24 lines
570 B
TypeScript

import { EntityPhotoGallery } from '@/components/upload/EntityPhotoGallery';
interface PropertyOwnerPhotoGalleryProps {
propertyOwnerId: string;
propertyOwnerName: string;
}
/**
* Wrapper for property owner photo galleries
* Uses the generic EntityPhotoGallery component internally
*/
export function PropertyOwnerPhotoGallery({
propertyOwnerId,
propertyOwnerName
}: PropertyOwnerPhotoGalleryProps) {
return (
<EntityPhotoGallery
entityId={propertyOwnerId}
entityType="property_owner"
entityName={propertyOwnerName}
/>
);
}