indexiatech / re-notif

Redux & React based Notifications center.
http://indexiatech.github.io/re-notif
BSD 3-Clause "New" or "Revised" License
148 stars 45 forks source link

componentClassName has no affect when passed as action payload #37

Closed SabeehY closed 8 years ago

SabeehY commented 8 years ago

Hi,

componentClassName has no effect if passed to notifSend action payload, even though the docs say so. From the source it only extracts message and kind from the payload.

Use case is that I want to override the styles for only a specific notification by passing the classname in the payload.

kylecesmat commented 8 years ago

@SabeehY I clarified the proper way to use the componentClassName prop in #39 - it shouldn't be part of the config, but rather the Notifs component as a prop. Sorry about the confusion!