diff --git a/packages/core/src/components/Noti.vue b/packages/core/src/components/Noti.vue index 697e75e..6178d2c 100644 --- a/packages/core/src/components/Noti.vue +++ b/packages/core/src/components/Noti.vue @@ -1,11 +1,12 @@ 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