solid-toast
Advanced tools
Comparing version 0.0.8 to 0.0.10
{ | ||
"name": "solid-toast", | ||
"version": "0.0.8", | ||
"version": "0.0.10", | ||
"description": "Customizable Toast Notifications for SolidJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/solid-toast.cjs.js", |
@@ -5,3 +5,2 @@ <a href="https://github.com/ardeora/solid-toast"><img alt="Solid Toast header image showing a cute toaster with a toast popping out" src="https://github.com/ardeora/solid-toast/raw/main/assets/header.png"/></a> | ||
<img src="https://badgen.net/npm/v/solid-toast" alt="NPM Version" /> | ||
<img src="https://badgen.net/bundlephobia/minzip/solid-toast" alt="Minzipped size"/> | ||
<img src="https://github.com/ardeora/solid-toast/workflows/build/badge.svg" alt="Build Status" /> | ||
@@ -18,4 +17,4 @@ </a> | ||
- **Easily Customizable** | ||
- **Promise API** - _Automatic loader from a promise_ | ||
- **Lightweight** - _less than 4kb including styles and animations_ | ||
- **Promise API** | ||
- **Lightweight** | ||
- **Accessible** | ||
@@ -39,6 +38,6 @@ | ||
Add a Toaster Component to the top level of your component tree. This . Now you can trigger `toast()` from anywhere! | ||
Add a Toaster Component to the top level of your component tree. This will be the container element that will display all the toasts. Now you can trigger `toast()` from anywhere! | ||
```jsx | ||
import toast, { Toaster } from 'react-hot-toast'; | ||
import toast, { Toaster } from 'solid-toast'; | ||
@@ -58,3 +57,6 @@ const notify = () => toast('Here is your toast.'); | ||
## Documentation | ||
Coming Soon | ||
Find the full API reference on [official documentation](https://react-hot-toast.com/docs). | ||
## Acknowledgements | ||
This project is inspired by | ||
- [React Hot Toast](https://github.com/timolins/react-hot-toast) |
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
59
56104