Banners
ImageGalleryBanner

ImageGalleryBanner

Static gallery of multiple images.

Includes the common banner props.

Placeholder image

Props

id
string
required

CMS id.

imagesrequired

List of images rendered as a gallery.

Example

const banner: ImageGalleryBanner = {
  typename: BannerTypename.ImageGallery,
  id: 'b_123',
  title: 'Gallery',
  titleTag: 'h2',
  titleAlign: 'center',
  cssId: null,
  cssClasses: null,
  images: [
    { id: 'img1', name: 'A', imageRights: null, file: {} as any, mobileFile: null, alt: 'A', breakpoint: null, cars: [] },
    { id: 'img2', name: 'B', imageRights: null, file: {} as any, mobileFile: null, alt: 'B', breakpoint: null, cars: [] }
  ]
};