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