timolins / react-hot-toast

Smoking Hot React Notifications 🔥
https://react-hot-toast.com
MIT License
9.68k stars 323 forks source link

Request: Export types #114

Closed alii closed 2 years ago

alii commented 3 years ago

Would it be possible to have the types exported? Right now I have to do the following to wrap toast(): image

It would be nice to import them all in the same import.

Here's my usage: image

heybereket commented 3 years ago

Yeah.

timolins commented 2 years ago

Those types are now available with https://github.com/timolins/react-hot-toast/releases/tag/v2.2.0. 🙌

alii commented 2 years ago

Woohoo!!! Thank you!!