Deal details banner
Audience: CMS editors and developers.
Type: CarDealBanner.
This banner shows one car deal offer with a contact form.
This banner includes the common banner props.

Properties
id●required
string
CMS ID.
car●required
CarDeal
Vehicle and price data for the deal.
Exactly one entityContact action is required. The selected form receives the deal context.
Example
declare const car: CarDeal;
declare const contactForm: DynamicForm;
const banner: CarDealBanner = {
typename: BannerTypename.CarDealBanner,
id: 'b_123',
title: null,
titleTag: 'h2',
titleAlign: 'left',
cssId: null,
cssClasses: null,
car,
buttons: {
items: [
{
id: 'enquiry',
action: 'entityContact',
text: null,
style: 'primary',
theme: null,
url: null,
contactForm: contactForm,
},
],
align: 'left',
width: 'intrinsic',
overflow: 'wrap',
},
};Last updated on