Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-hook-notification

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hook-notification - npm Package Compare versions

Comparing version 3.1.5 to 3.1.6

12

dist/presentation/types/Notification.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc