Skip to content
Functiondiscord-component-embedv1.1.1

MediaGallery

A grid of images and videos.

MediaGallery(_props: MediaGalleryProps): null
<MediaGallery>
    {page.screenshots.map((shot) => (
        <MediaGalleryItem key={shot.url} url={shot.url} description={shot.alt} />
    ))}
</MediaGallery>