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

Feature: prop for passing function when close button is clicked #1117

Open
CalvinJamesHeath opened this issue May 19, 2024 · 1 comment · May be fixed by #1133
Open

Feature: prop for passing function when close button is clicked #1117

CalvinJamesHeath opened this issue May 19, 2024 · 1 comment · May be fixed by #1133

Comments

@CalvinJamesHeath
Copy link

CalvinJamesHeath commented May 19, 2024

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
The current behaviour is that I have to create a new button so I can pass an onClick listener, but the one by default its fine.

Would be nice to add a new prop like:

onButtonClose function Called when the notification close button is clicked.
@sbsangu
Copy link

sbsangu commented May 24, 2024

Hello,

I've linked the pull request to address the feature request. It would be really helpful if someone could take a moment to review the proposed changes. Your feedback would be greatly appreciated!

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