Timo Lins

Results 69 comments of Timo Lins

That sounds like a reasonable improvement that shouldn't be too hard to implement. Consider this as on the road map.

You can achieve by using `useToasterStore()` & `useEffect()`. We can read the state of all toasts, and dismiss them if our limit is reached. ```js const { toasts } =...

I think the proposed solution works well enough – no need to add this as native API IMO.

According to the demand, it's time for a proper API. Will look into this for the next release.

Yes! I think `toast.warning()` and `toast.info()` would be nice defaults. I'll see what I can do.

Hey, thanks for bringing that up. I'm still torn if I want to add a progress bar to the library. I personally think it's not really necessary for most types...

Yep, you can change the width of the toast by overwriting `max-width` via toast styles. ```jsx // For all toasts // Per toasts toast.success("Long toast ...", { style: { maxWidth:...

This is currently not possible. My suggestion would be to create a custom toaster, which will also apply for `toast.promise()`. You can find more information + example (with goober/style-components) here:...

Great input. Those Tailwind UI examples show some valid use-cases. For now you could try to go [headless](https://react-hot-toast.com/docs/use-toaster), to get rid off all default styles. This is something I want...

Interesting, thanks for reporting. I'll have a closer look.