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

Fix types for onExited, OnEntered, and onClose handlers #214

Merged
merged 1 commit into from
Feb 23, 2020
Merged

Fix types for onExited, OnEntered, and onClose handlers #214

merged 1 commit into from
Feb 23, 2020

Conversation

JoseLion
Copy link
Contributor

This PR fixes the types for onExited, OnEntered, and onClose handlers to match the handlers of the library instead of the ones in SnackbarProps of material-ui. Specifically, it adds the last key argument to the handlers.

@iamhosseindhv Nice work on this library I really liked it. And thanks for adding TypeScript types too. Keep up the great work🙂

@iamhosseindhv
Copy link
Owner

Thanks for the PR @JoseLion. I'll review, merge and publish changes over the weekend ❤️

@JoseLion
Copy link
Contributor Author

JoseLion commented Feb 1, 2020

@iamhosseindhv thank you for taking the time to review this PR 🙂 any news so far?

@arumsey
Copy link

arumsey commented Feb 22, 2020

I would love to get my hands on this fix as well. Will be a huge help for integrating with redux.

@iamhosseindhv iamhosseindhv merged commit d392aa7 into iamhosseindhv:master Feb 23, 2020
@iamhosseindhv
Copy link
Owner

Thanks for your patience and contribution. fix has been released as v0.9.8. ❤️

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.

3 participants