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 1893815 commit cc66304Copy full SHA for cc66304
src/types.ts
@@ -57,8 +57,8 @@ 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
61
- ModalNotificationsProvider: React.FC<{ notificationTopPosition?: number }>
+ NotificationsProvider: React.FC<React.PropsWithChildren>
+ ModalNotificationsProvider: React.FC<React.PropsWithChildren<{ notificationTopPosition?: number }>>
62
CustomVariantsTypeHelper: V
63
} & ReturnType<UseNotification<V>>
64
0 commit comments