mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-26 09:11:09 -05:00
Refactor: Implement photo upload plan
This commit is contained in:
23
src/components/companies/ManufacturerPhotoGallery.tsx
Normal file
23
src/components/companies/ManufacturerPhotoGallery.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import { EntityPhotoGallery } from '@/components/upload/EntityPhotoGallery';
|
||||
|
||||
interface ManufacturerPhotoGalleryProps {
|
||||
manufacturerId: string;
|
||||
manufacturerName: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper for manufacturer photo galleries
|
||||
* Uses the generic EntityPhotoGallery component internally
|
||||
*/
|
||||
export function ManufacturerPhotoGallery({
|
||||
manufacturerId,
|
||||
manufacturerName
|
||||
}: ManufacturerPhotoGalleryProps) {
|
||||
return (
|
||||
<EntityPhotoGallery
|
||||
entityId={manufacturerId}
|
||||
entityType="manufacturer"
|
||||
entityName={manufacturerName}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user