TextblockBanner
Markdown text content rendered as a block.
Includes the common banner props (typename, title, titleTag, titleAlign, cssId, cssClasses).
Props
id●required
string
CMS id.
markdown●required
string[]
Array of markdown fragments rendered in order. Each entry is rendered as markdown.
fullwidth●required
boolean
If true, the renderer usse a full-width layout (no max-width container).
Example
const banner: TextblockBanner = {
typename: BannerTypename.Textblock,
id: 'b_123',
title: 'Delivery & Returns',
titleTag: 'h2',
titleAlign: 'left',
cssId: null,
cssClasses: null,
markdown: ['**Free shipping** on orders above 50 €.', 'Second paragraph...'],
fullwidth: false
};