Trails Packages
    Preparing search index...

    Interface NotificationOptions

    Options used when emitting a new notification via NotificationService.notify.

    interface NotificationOptions {
        displayDuration?: number;
        level?: NotificationLevel;
        message?: ReactNode;
        title?: ReactNode;
    }
    Index

    Properties

    displayDuration?: number

    The duration (in milliseconds) how long the notification is displayed. By default, notifications are displayed until they are explicitly closed by the user.

    Note that important messages should not be hidden automatically for a11y reasons.

    The level of this notification.

    "info"
    
    message?: ReactNode

    An optional message, shown below the title.

    title?: ReactNode

    The title of the notification.