trycourier / courier-react

MIT License
40 stars 14 forks source link

Add Support for additional data in OnRouteChange #582

Closed sdraper69 closed 4 months ago

sdraper69 commented 5 months ago

Currently, when using onRouteChange all I get is the URL. I would like to be able to react to the action buttons in a notification, rather than just redirecting to a URL.

Being able to have additional data would be a great help as I would be able to intercept the click, and do whatever I needed then.