feat(SW-842): Added lightbox to roomcard
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user