react-hook-notification
Advanced tools
Comparing version 2.0.5 to 2.0.6
import { NotificationProps } from '../../presentation/types/Notification'; | ||
export declare type UseNotificationParams = Omit<NotificationProps, 'title' | 'text' | 'type' | 'id' | 'onRemove' | 'amount'>; | ||
export declare type NotificationParams = Omit<NotificationProps, 'onRemove' | 'type' | 'id'>; | ||
export declare type NotificationParams = Omit<NotificationProps, 'onRemove' | 'type' | 'id' | 'amount'>; | ||
export declare type UseNotificationHook = (hookParams?: UseNotificationParams) => { | ||
@@ -5,0 +5,0 @@ default(notificationParams: NotificationParams): void; |
@@ -5,3 +5,3 @@ import React from 'react'; | ||
isVisible: boolean; | ||
notifications: Omit<NotificationProps, 'onRemove'>[]; | ||
notifications: Omit<NotificationProps, 'onRemove' | 'amount'>[]; | ||
position: NotificationPosition; | ||
@@ -8,0 +8,0 @@ onRemove(id: string): void; |
import { NotificationProps } from '../../types/Notification'; | ||
declare type NotificationData = Omit<NotificationProps, 'onRemove'>; | ||
declare type NotificationData = Omit<NotificationProps, 'onRemove' | 'amount'>; | ||
declare type UseControllerHook = () => { | ||
@@ -4,0 +4,0 @@ onRemove(id: string): void; |
import { Dispatch, SetStateAction } from 'react'; | ||
import { NotificationProps } from '../types/Notification'; | ||
export declare type NotificationData = Omit<NotificationProps, 'onRemove'>; | ||
export declare type NotificationData = Omit<NotificationProps, 'onRemove' | 'amount'>; | ||
export declare class NotificationStore { | ||
@@ -5,0 +5,0 @@ private static instance; |
{ | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/main/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
46626
0