Interface representing a button content.

BrikData

interface ButtonContent {
    type: "button";
    label: string;
    for: string;
    link?: string;
    autoFill?: any;
    value?: string;
    target?: string;
    buttonType?: string;
    typeOptions?: ["functional", "route", "scroll", "other"];
}

Hierarchy (View Summary)

Properties

type: "button"

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
target?: string

The target of the button content.

ButtonContent

buttonType?: string

The type of the button content.

ButtonContent

typeOptions?: ["functional", "route", "scroll", "other"]

The options of the button content.

ButtonContent