PromoTextBlock
Overview
PromoTextBlock
represents a block of text used for promotional purposes. It is commonly included in carousels or standalone sections to highlight promotional messages or content.
Attributes
id
type: string
A unique identifier for the promo text block.
type
type: literal = 'promoText'
Discriminant for this block type.
text
type: string (optional)
The promotional text content displayed in the block.
format
type: literal = 'markdown' | 'html' (optional)
Specifies the format of the promotional text content.
bodyTextPosition
type: TextAlignment (optional)
Defines the alignment of the text content within the block.
inCarousel
type: boolean (optional)
Indicates whether this promo text block is part of a carousel.