Interface representing an image content.

BrikData

interface ImageContent {
    type: "img" | "image";
    label: string;
    for: string;
    link?: string;
    autoFill?: any;
    value?: string;
    src: string;
}

Hierarchy (View Summary)

Properties

type: "img" | "image"

The type of the content.

BaseContent

label: string

The label of the content.

BaseContent

for: string

The target of the content.

BaseContent

link?: string

The link of the content.

BaseContent

autoFill?: any

The auto fill value of the content.

Only used for AI content

BaseContent

value?: string
src: string

The source of the image content.

ImageContent