vibe-toast 0.1.4 → 0.1.5
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/README.md +0 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -82,15 +82,6 @@ toast.promise(save(), {
|
|
|
82
82
|
})
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
## ⚙️ API
|
|
86
|
-
|
|
87
|
-
### Toaster Props
|
|
88
|
-
| Prop | Type | Default | Options |
|
|
89
|
-
|------|------|---------|---------|
|
|
90
|
-
| `position` | `string` | `'top-right'` | `top-left`, `top-center`, `top-right`, `bottom-left`, `bottom-center`, `bottom-right` |
|
|
91
|
-
| `theme` | `string` | `'light'` | `light`, `dark` |
|
|
92
|
-
| `duration` | `number` | `4000` | milliseconds |
|
|
93
|
-
| `maxToasts` | `number` | `5` | max toasts shown at once |
|
|
94
85
|
|
|
95
86
|
### Toast Methods
|
|
96
87
|
- `toast.success(message, options?)`
|
|
@@ -104,20 +95,6 @@ toast.promise(save(), {
|
|
|
104
95
|
- `toast.dismissAll()`
|
|
105
96
|
- `toast.update(id, options)`
|
|
106
97
|
|
|
107
|
-
## 📦 Bundle Size
|
|
108
|
-
|
|
109
|
-
| Library | Size (gzipped) |
|
|
110
|
-
|---------|---------------|
|
|
111
|
-
| `vibe-toast` | **1.4kb** |
|
|
112
|
-
| `react-hot-toast` | 7.2kb |
|
|
113
|
-
| `sonner` | 4.8kb |
|
|
114
|
-
| `react-toastify` | 15.2kb |
|
|
115
|
-
|
|
116
|
-
## 📄 License
|
|
117
|
-
|
|
118
|
-
MIT © [Your Name]
|
|
119
|
-
|
|
120
|
-
---
|
|
121
98
|
|
|
122
99
|
<div align="center">
|
|
123
100
|
<a href="https://github.com/suraj-savle/vibe-toast">GitHub</a> •
|