solid-sonner
solid-sonner copied to clipboard
An opinionated toast component for Solid.
## Summary - Fixes https://github.com/wobsoriano/solid-sonner/issues/15 - Fixes https://github.com/wobsoriano/solid-sonner/issues/14 - Fixed it by making it more "Solid-like". Solid prefers "fine-grained reactivity" that's why it was buggy because it can't seem to...
Hi @wobsoriano ! So I recently made a PR for `toast.loading`. I'll just preface that this bug is not related to that. I think there's something wrong with how the...
It's being really weird when it's expanded and when it updates existing toasts. https://github.com/wobsoriano/solid-sonner/assets/38070918/4df89008-a046-4a7d-8605-d4e59210a5a7 https://github.com/wobsoriano/solid-sonner/assets/38070918/a24670ce-3603-4ab0-aeba-1f326cb1d074
```ts const id = toast.loading('Loading...', { duration: Number.POSITIVE_INFINITY }) await someLongRunningTask() toast.success('Success', { id, duration: 3000 }) ``` the success toast disappears instantly instead of 3 seconds.
```tsx ``` I need a way to apply styles to only a toast without a type. i.e. not `info`, `success`, `warning`, `error`... The above code works but it's a bit...