karussel
This commit is contained in:
@ -11,8 +11,12 @@ type Props = {
|
||||
const GalleryCarousel: React.FC<Props> = ({ videos, photos }): JSX.Element => {
|
||||
return (
|
||||
<Carousel
|
||||
variant="light"
|
||||
>
|
||||
withIndicators
|
||||
height={200}
|
||||
slideSize="33.333333%"
|
||||
slideGap="md"
|
||||
loop
|
||||
align="start" >
|
||||
{photos.map((photo, index) => (
|
||||
<ImageViewer key={`gallery-photo-${index}`} url={photo} />
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user