Banners
LocationBanner

LocationBanner

Renders a location entry (address, opening hours, etc.).

Includes the common banner props.

Placeholder image

Props

id
string
required

CMS id.

location
LocationProps
required

Location data object.

hideImage
boolean
required

If true, do not render the location image (if any).

Example

const banner: LocationBanner = {
  typename: BannerTypename.LocationBanner,
  id: 'b_123',
  title: 'Berlin',
  titleTag: 'h2',
  titleAlign: 'left',
  cssId: null,
  cssClasses: null,
  location: {} as any,
  hideImage: false
};