fkhadra / fkhadra/react-toastify
Feature: prop for passing function when close button is clicked
Open
- Dominant language
- TypeScript
- Stars
- 13.4k
- Forks
- 741
- PR merge metrics
- No merged PRs in 30d
Description
**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.
-- | -- | --
Contributor guide
Assessment
This issue has not been assessed yet.