react-notification v6.7.0 Release Notes
Release Date: 2017-05-10 // almost 7 years ago-
🚀 This release enhances custom styles by passing the
notification
object as a parameter tobarStyleFactory
andactiveBarStyleFactory
.💅 This will enable you to add custom styles to different notifications—useful if you have to style different notification "types" with different colors, for example.
function defaultStyleFactory(index, style, notification) { return Object.assign( .... ); }