Interface Alert

Represents an alert message with optional type and duration.

interface Alert {
    duration?: number;
    message: string;
    type?:
        | "is-white"
        | "is-black"
        | "is-light"
        | "is-dark"
        | "is-primary"
        | "is-info"
        | "is-success"
        | "is-warning"
        | "is-danger";
}

Properties

duration?: number
message: string
type?:
    | "is-white"
    | "is-black"
    | "is-light"
    | "is-dark"
    | "is-primary"
    | "is-info"
    | "is-success"
    | "is-warning"
    | "is-danger"