LocationBanner
Renders a location entry (address, opening hours, etc.).
Includes the common banner props.
Props
id●required
string
CMS id.
location●required
LocationProps
Location data object.
hideImage●required
boolean
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
};