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: remove prop type overriding and add event type in snackbar #500

Merged

Conversation

AlanFnz
Copy link
Member

@AlanFnz AlanFnz commented Dec 2, 2024

What

This PR removes the overriding of the onPress prop when extending the interface for the IconButton component.
It also adds the correct event typing in Snackbar

Why

This override we are removing causes us to lose the event typing inherited from AriaButtonProps

@AlanFnz AlanFnz requested review from shiba-codes and removed request for jonotrujillo December 2, 2024 09:12
@AlanFnz AlanFnz changed the title fix: remove prop type overriding and add type event in snackbar fix: remove prop type overriding and add event type in snackbar Dec 2, 2024
@AlanFnz AlanFnz merged commit c4d4db8 into freenowtech:main Dec 2, 2024
5 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 2, 2024
### [2.19.2](v2.19.1...v2.19.2) (2024-12-02)

### Bug Fixes

* remove prop type overriding and add event type in snackbar ([#500](#500)) ([c4d4db8](c4d4db8))
Copy link
Contributor

github-actions bot commented Dec 2, 2024

🎉 This PR is included in version 2.19.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants