deep-c / react-redux-notify

A simple and flexible notifications component built using React and Redux.
https://deep-c.github.io/react-redux-notify/
MIT License
34 stars 14 forks source link

Update notification? #46

Open karuhanga opened 5 years ago

karuhanga commented 5 years ago

Awesome work on this. Does this support updating a notification's message? I'm thinking of a scenario where I have a long running operation.

deep-c commented 5 years ago

Hi, thanks. Currently its doesnt but it should be pretty easy to add. Just need to create a new action in https://github.com/deep-c/react-redux-notify/blob/master/src/modules/Notifications.js for updateNotification and have it take the id, and new configuration for the notification.