@sriramvenkatesan/react-toast-popup 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,7 +8,7 @@ React Toast Popup is a simple and customizable toast notification component for
8
8
  You can install React Toast Popup via npm:
9
9
 
10
10
  ```jsx
11
- npm install react-toast-popup
11
+ npm install @sriramvenkatesan/react-toast-popup
12
12
  ```
13
13
 
14
14
  ## Usage
@@ -18,7 +18,7 @@ To use React Toast Popup in your React application, follow these steps:
18
18
  Import the useNotification hook and necessary styles in your component:
19
19
 
20
20
  ```jsx
21
- import useNotification from "react-toast-popup";
21
+ import useNotification from "@sriramvenkatesan/react-toast-popup";
22
22
  ```
23
23
 
24
24
  Initialize the useNotification hook with your preferred position:
@@ -98,7 +98,7 @@ Here's a basic example of how to use React Toast Popup:
98
98
 
99
99
  ```jsx
100
100
  import React from "react";
101
- import useNotification from "react-toast-popup";
101
+ import useNotification from "@sriramvenkatesan/react-toast-popup";
102
102
 
103
103
  function App() {
104
104
  const { NotificationComponent, triggerNotification } =
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sriramvenkatesan/react-toast-popup",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "React Toast Popup is a simple and customizable toast notification component for React applications.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",