Search Docs
Loading...
Skip to content

Interface: Notification

Represents a notification configuration.

The Notification interface defines the structure of a notification configuration within the Creative Editor SDK. It includes properties for the type, message, duration, onDismiss callback, and action. This interface provides a comprehensive way to define and manage notifications, allowing for flexibility in how they are presented and interacted with by users.

Properties#

Property Type
type? NotificationType
message string
duration? NotificationDuration
onDismiss? () => void
action? object
action.label string
action.onClick (context) => void