Search
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#

PropertyType
type?NotificationType
messagestring
duration?NotificationDuration
onDismiss?() => void
action?object
action.labelstring
action.onClick(context) => void