petalbid-frontend
    Preparing search index...

    Defines the options for displaying an alert.

    interface AlertOptions {
        display?: "snackbar" | "inline";
        message: string;
        severity: "error" | "success" | "warning" | "info";
        title: string;
    }
    Index

    Properties

    display?: "snackbar" | "inline"

    Where to display the alert: 'snackbar' (default) or 'inline' (requires AlertSlot).

    message: string

    The main content message of the alert dialog.

    severity: "error" | "success" | "warning" | "info"

    The severity level of the alert.

    title: string

    The title of the alert dialog.