mithril-materialized
    Preparing search index...

    Interface ToastAction

    interface ToastAction {
        icon?: string;
        label?: string;
        onclick: () => void;
        variant?: "flat" | "icon";
    }
    Index

    Properties

    icon?: string

    Icon name for the action button

    label?: string

    Text label for the action button (if no icon provided)

    onclick: () => void

    Callback function called when action is clicked

    variant?: "flat" | "icon"

    Whether to use flat button style (default) or icon button style