import React from 'react'
import { Typography } from '@mui/material'
import { ImageListLightboxProps } from './imageListTypes'
import { ImageListItemStoryblok } from '../../typings/generated/components-schema'
import Box from '@mui/material/Box'
import { ImageBase } from '../image/ImageBase'
import LmNukaCarousel from '../slider/LmNukaCarousel'
function CarouselImageItem({ content }: { content: ImageListItemStoryblok }) {
const imageSource = content.source || ''
return (
{(content.label || content.sub_title) && (
{content.label}
{content.sub_title}
)}
)
}
export default function Swipe(props: ImageListLightboxProps) {
const currentIndex = props.elements.findIndex(
(i) => i._uid === props.lightbox
)
return (
{props.elements.map((item) => (
))}
)
}