@samatawy/diagrams
    Preparing search index...

    Type Alias PromptDialogOptions<T>

    Options for configuring a prompt dialog, including title, prompt message, optional icon, and a list of actions.

    type PromptDialogOptions<T extends string> = {
        title?: string;
        prompt: string;
        icon?: string;
        actions: PromptDialogAction<T>[];
    }

    Type Parameters

    • T extends string
    Index

    Properties

    title?: string

    The title of the prompt dialog.

    prompt: string

    The message or question to display in the prompt dialog.

    icon?: string

    An optional icon to display in the prompt dialog.

    actions: PromptDialogAction<T>[]

    The list of actions available in the prompt dialog.