refactor(SW-96): unify lightbox to handle mobile and desktop

This commit is contained in:
Chuma McPhoy
2024-08-20 16:31:01 +02:00
parent 24e6b5fffe
commit d77070a210
12 changed files with 396 additions and 248 deletions

View File

@@ -3,7 +3,7 @@ export interface ImageItem {
alt: string
}
export interface DesktopLightboxProps {
export interface LightboxProps {
images: ImageItem[]
children: React.ReactNode
}