feat: Notification support hooks for context (#21275)

* use promise for getInstance

* passing hooks

* hooks support

* move hooks out of fiel

* adjust style

* update snapshot

* fix test & add test case

* update hooks test

* fix style lint

* update doc

* update demo desc & eslitn rules

* fix lint

* docs add faq

* fix less
This commit is contained in:
二货机器人
2020-02-07 17:55:27 +08:00
committed by GitHub
parent 06ba40e860
commit 3080611883
13 changed files with 454 additions and 86 deletions

View File

@@ -34,8 +34,6 @@ declare module 'rc-input-number';
declare module 'rc-collapse';
declare module 'rc-notification';
declare module 'rc-dialog';
declare module 'rc-rate';