mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 21:31:14 -05:00
Refactor code structure and remove redundant changes
This commit is contained in:
23
src-old/components/companies/PropertyOwnerPhotoGallery.tsx
Normal file
23
src-old/components/companies/PropertyOwnerPhotoGallery.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user