feat(SW-842): Added lightbox to roomcard

This commit is contained in:
Erik Tiekstra
2024-11-12 10:39:42 +01:00
parent d732138696
commit 962760ae1b
11 changed files with 150 additions and 142 deletions
+2 -2
View File
@@ -3,12 +3,12 @@ import type { GalleryImage } from "@/types/hotel"
export interface LightboxProps {
images: GalleryImage[]
dialogTitle: string /* Accessible title for dialog screen readers */
children: React.ReactNode
onClose: () => void
isOpen: boolean
}
export interface GalleryProps {
images: GalleryImage[]
dialogTitle: string
onClose: () => void
onSelectImage: (image: GalleryImage) => void
onImageClick: () => void