react-hook-notification
Advanced tools
Comparing version 3.1.5 to 3.1.6
@@ -43,23 +43,23 @@ export declare type NotificationType = 'success' | 'error' | 'info' | 'warning' | 'default'; | ||
/** | ||
* Show progress bar in the notification (Default: true) | ||
* Show or hide progress bar (Default: true) | ||
*/ | ||
showProgressBar?: NotificationShowProgressBar; | ||
/** | ||
* Show button close in the notification (Default: true) | ||
* Show button close (Default: true) | ||
*/ | ||
showButtonClose?: NotificationShowButtonClose; | ||
/** | ||
* Close on click in the notification (Default: true) | ||
* Close on click (Default: true) | ||
*/ | ||
closeOnClick?: NotificationCloseOnClick; | ||
/** | ||
* show icon (Default: true) | ||
* Show or hide icon (Default: true) | ||
*/ | ||
showIcon?: NotificationShowIcon; | ||
/** | ||
* Auto close notification (Default: true) | ||
* Close notification after delay ends (Default: true) | ||
*/ | ||
autoClose?: NotificationAutoClose; | ||
/** | ||
* Notification pause auto close on hover (Default: true) | ||
* Pause auto close on hover (Default: true) | ||
*/ | ||
@@ -66,0 +66,0 @@ pauseOnHover?: NotificationPauseOnHover; |
{ | ||
"version": "3.1.5", | ||
"version": "3.1.6", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/main/index.js", |
@@ -49,17 +49,17 @@ # React Hook Notification | ||
| Property | Type | Required | Default | Description | | ||
| --------------- | ----------------------------------------------------------------------------------- | -------- | --------- | ---------------------------------------------------------- | | ||
| text | string | yes | | Notification text | | ||
| title | string | no | | Notification title | | ||
| position | top-right \| top-center \| top-left \| bottom-right \| bottom-center \| bottom-left | no | top-right | Notification position | | ||
| theme | colored \| light \| dark | no | colored | Notification theme | | ||
| transition | bounce \| flip \| fade \| slide \| zoom | no | bounce | Notification transition | | ||
| delay | number | no | 5000 | Notification delay in milliseconds | | ||
| showProgressBar | boolean | no | true | Notification shows or hides progress bar | | ||
| showButtonClose | boolean | no | true | Notification show or hide close button | | ||
| closeOnClick | boolean | no | true | Notification closes on click | | ||
| showIcon | boolean | no | true | Notification show or hide icon | | ||
| autoClose | boolean | no | true | Automatic closing of the notification after the delay ends | | ||
| pauseOnHover | boolean | no | true | Auto close pause on hover | | ||
| draggable | boolean | no | true | Enable or disable drag | | ||
| Property | Type | Required | Default | Description | | ||
| --------------- | ----------------------------------------------------------------------------------- | -------- | --------- | ----------------------------------- | | ||
| text | string | yes | | Notification text | | ||
| title | string | no | | Notification title | | ||
| position | top-right \| top-center \| top-left \| bottom-right \| bottom-center \| bottom-left | no | top-right | Notification position | | ||
| theme | colored \| light \| dark | no | colored | Notification theme | | ||
| transition | bounce \| flip \| fade \| slide \| zoom | no | bounce | Notification transition | | ||
| delay | number | no | 5000 | Notification delay in milliseconds | | ||
| showProgressBar | boolean | no | true | Show or hide progress bar | | ||
| showButtonClose | boolean | no | true | Show or hide close button | | ||
| closeOnClick | boolean | no | true | Close on click | | ||
| showIcon | boolean | no | true | Show or hide icon | | ||
| autoClose | boolean | no | true | Close notification after delay ends | | ||
| pauseOnHover | boolean | no | true | Auto close pause on hover | | ||
| draggable | boolean | no | true | Enable or disable drag | | ||
@@ -66,0 +66,0 @@ ## LICENSE |
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
54344