Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.

Version 6.7.0

Compare
Choose a tag to compare
@pburtchaell pburtchaell released this 10 May 01:10
· 63 commits to master since this release

This release enhances custom styles by passing the notification object as a parameter to barStyleFactory and activeBarStyleFactory.

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(
      ....
    );
}