Currently, notifications disappear automatically after a set duration. I’d like to add an option to keep the notification visible until it is manually closed.
This could be achieved by:
- Setting
duration to 0 to disable auto-hide.
- Introducing a new prop that allows configuring whether the notification should close automatically after X seconds or require manual dismissal.
This change would provide more flexibility in handling notifications based on different use cases. Let me know your thoughts!
Currently, notifications disappear automatically after a set duration. I’d like to add an option to keep the notification visible until it is manually closed.
This could be achieved by:
durationto0to disable auto-hide.This change would provide more flexibility in handling notifications based on different use cases. Let me know your thoughts!