We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a3f2c commit a7dd2a0Copy full SHA for a7dd2a0
src/types.ts
@@ -57,8 +57,10 @@ export type UseNotification<V extends VariantsMap = Variants> = () => Emmiter<V>
57
58
export type CreateNotificationsReturnType<V extends VariantsMap = Variants> = {
59
useNotifications: UseNotification<V>
60
- NotificationsProvider: React.FC<React.PropsWithChildren>
61
- ModalNotificationsProvider: React.FC<React.PropsWithChildren<{ notificationTopPosition?: number }>>
+ NotificationsProvider: React.FC<React.PropsWithChildren<Record<never, any>>>
+ ModalNotificationsProvider: React.FC<
62
+ React.PropsWithChildren<{ notificationTopPosition?: number }>
63
+ >
64
CustomVariantsTypeHelper: V
65
} & ReturnType<UseNotification<V>>
66
0 commit comments