plugin-ui-for-kzt 0.0.2 → 0.0.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plugin-ui-for-kzt",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "plugin-ui for kazaktelekom",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -24,18 +24,19 @@
24
24
  ## Использование
25
25
 
26
26
  ```vue
27
+
27
28
  <script setup>
28
- import { useToast } from "modal-plugin-nikitas/plugins/toasterPlugin";
29
+ import {useToast} from "../../plugins/toasterPlugin";
29
30
 
30
- const toast = useToast();
31
+ const toast = useToast();
31
32
 
32
- const showSuccessToast = () => {
33
- toast?.success("Toast on top", {
34
- position: "top-left",
35
- duration: 4000,
36
- pauseOnHover: false,
37
- });
38
- };
33
+ const showSuccessToast = () => {
34
+ toast?.success("Toast on top", {
35
+ position: "top-left",
36
+ duration: 4000,
37
+ pauseOnHover: false,
38
+ });
39
+ };
39
40
  </script>
40
41
  ```
41
42