```tsx <CarouselProvider className="" naturalSlideWidth={400} naturalSlideHeight={400} totalSlides={selectedImage.length} orientation="horizontal"> <Slider className='' > {selectedImage.map((item,index) => ( <Slide key={index + ''} index={index} className="" tabIndex={index}> <img className='mx-auto w-full max-h-[300px] h-[100%] object-contain' src={item} alt="" /> </Slide> ))} </Slider> </CarouselProvider> ``` result : 