MLightCAD
    Preparing search index...

    Interface NotificationAction

    A clickable action rendered as a button on a notification.

    interface NotificationAction {
        action: () => void;
        label: string;
        primary?: boolean;
    }
    Index

    Properties

    Properties

    action: () => void

    Callback invoked when the user clicks the button.

    label: string

    Button label text displayed to the user.

    primary?: boolean

    When true, renders the button with primary (emphasized) styling.