message.error/success/... duration argument is optional #7857
Labels
Comments
Just PR to branch |
Hi, @benjycui . Do you use |
@monkindey yep |
OK, Thanks. Is there still other step to check before send a PR? |
This was referenced Oct 12, 2017
I created a feature PR. |
I am going to close it because of the #7874 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve?
Because duration have the default value.
Sometime I want to use onClose, but have to reassign value to duration even equal to the default value.
What does the proposed API look like?
I can use it two way.
duration is optional, we can identify the onClose using the
typeof
The text was updated successfully, but these errors were encountered: