mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 13:11:12 -05:00
24 lines
570 B
TypeScript
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}
|
|
/>
|
|
);
|
|
}
|