Skip to content

Commit

Permalink
Expose update function so it can be used to clear notifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
drschwabe committed Apr 25, 2019
1 parent 03ce585 commit 373a980
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ module.exports = function (opts) {
warning: warning,
success: success,
state: notifications,
options: opts
options: opts,
update : update
}

function add (notification) {
Expand Down

0 comments on commit 373a980

Please sign in to comment.