Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add typings for toast custom props #155

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maciekgrzybek
Copy link

Information

First of all, thanks for this great library :) I'm currently implementing it in our system, and I notice I have a need to pass custom props in the toast method, so I can use them when rendering toasts. This already seems to be working, but types aren't covering this situation so I added them in this PR. What do you think?

@vercel
Copy link

vercel bot commented Feb 18, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/timo/react-hot-toast/6L6R6CbmCkSLJqPX9ZqY3ofct2Hj
✅ Preview: https://react-hot-toast-git-fork-maciekgrzybek-feat-add-ty-56e9c1-timo1.vercel.app

@maciekgrzybek
Copy link
Author

Hey @timolins any chance you could take a look at this? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant