[new feature] Notify: add className prop (#2681)

This commit is contained in:
neverland
2019-02-04 10:13:00 +08:00
committed by GitHub
parent ca4e476ddd
commit 3578defd11
10 changed files with 13 additions and 7 deletions
+2 -1
View File
@@ -52,7 +52,8 @@ Notify.defaultOptions = {
text: '',
color: WHITE,
background: RED,
duration: 3000
duration: 3000,
className: ''
};
Notify.setDefaultOptions = options => {