Skip to main content

BannerBlock

Overview

BannerBlock represents a banner component within the content model. It includes attributes for textual content and an optional image URL used to visually enhance the banner.

Attributes

id

type: string

A unique identifier for the banner block.

type

type: literal = 'banner'

Discriminant for this block type.

content

type: string (optional)

The textual content displayed within the banner.

imageUrl

type: string (optional)

The URL of the image displayed in the banner.