Merged in feat/sw-3231-move-lightbox-to-design-system (pull request #2619)
feat(SW-3231): Move Lightbox to design-system * Move Lightbox to design-system * Fix self-referencing imports * Fix broken import Approved-by: Matilda Landström
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
import type { GalleryImage } from "../imageGallery"
|
||||
|
||||
export interface LightboxProps {
|
||||
images: GalleryImage[]
|
||||
dialogTitle: string /* Accessible title for dialog screen readers */
|
||||
onClose: () => void
|
||||
activeIndex?: number
|
||||
hideLabel?: boolean
|
||||
}
|
||||
|
||||
export interface GalleryProps {
|
||||
images: GalleryImage[]
|
||||
onClose: () => void
|
||||
onSelectImage: (image: GalleryImage) => void
|
||||
onImageClick: () => void
|
||||
selectedImage: GalleryImage | null
|
||||
hideLabel?: boolean
|
||||
}
|
||||
|
||||
export interface FullViewProps {
|
||||
image: GalleryImage
|
||||
onClose: () => void
|
||||
onNext: () => void
|
||||
onPrev: () => void
|
||||
currentIndex: number
|
||||
totalImages: number
|
||||
hideLabel?: boolean
|
||||
}
|
||||
Reference in New Issue
Block a user