-
- {{ message }}
+
+
+ {{ item.message }} {{ item.id }}
+
diff --git a/packages/core/src/types/index.ts b/packages/core/src/types/index.ts
index 0a5aef4..9533074 100644
--- a/packages/core/src/types/index.ts
+++ b/packages/core/src/types/index.ts
@@ -53,9 +53,9 @@ export type NotiPosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-l
export interface NotiOptions {
message: string
- type: NotificationType
- position: NotiPosition
- duration: number
+ type?: NotificationType
+ position?: NotiPosition
+ duration?: number
}
export type NotiEvent = (options: Partial
) => void