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
TypeScript definitions are incorrect. #100
Comments
The definitions file for this package doesn't define those methods.. Is this an issue for sweetalert2? |
After wrapping my modals in |
I think it would be better to make the fix so that those methods are called with the modal as their argument, and keep things in alignment with how sweetalert2 behaves without this extension (sweetalert2-react-content). |
🎉 This issue has been resolved in version 2.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
onOpen
andonClose
does not take the popup as their argument, this should be updated in the definitions file.The text was updated successfully, but these errors were encountered: