In commit 0bfe722055313bcbf4ece99cb2c6f8443f412b54, the rendering of CustomComponent was moved from within Notif.js to Notifs.js. This refactoring led to CustomComponents now being passed the props of the Notifs object, rather than the Notif object. That means that things like the id, message, etc. are no longer accessible inside the CustomComponent
This commit ensures that the same props that would be passed to a Notif are passed to a CustomComponent.
In commit 0bfe722055313bcbf4ece99cb2c6f8443f412b54, the rendering of
CustomComponent
was moved from within Notif.js to Notifs.js. This refactoring led toCustomComponents
now being passed theprops
of theNotifs
object, rather than theNotif
object. That means that things like theid
,message
, etc. are no longer accessible inside theCustomComponent
This commit ensures that the same
props
that would be passed to aNotif
are passed to aCustomComponent
.