Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to update notification props by key #40

Merged
merged 2 commits into from
Apr 16, 2018

Conversation

yevhen-hryhorevskyi
Copy link
Contributor

Hey guys,
thank you for such small and useful library to manage notification messages.
I'm using it for my current project and like it very much.
I faced the situation when our UX requires an ability to update rendered notice content. Unfortunately, all my tries to update notification using its key failed. That is why I dug into the code and make a small update to be able to update rendered notice properties.

I've added required changes, example, test.
Here how it looks like:

updatable-notice

@coveralls
Copy link

coveralls commented Apr 4, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 61b45d1 on yevhen-hryhorevskyi:master into 8af073b on react-component:master.

@yesmeck
Copy link
Member

yesmeck commented Apr 10, 2018

Related ant-design/ant-design#8021

@yevhen-hryhorevskyi
Copy link
Contributor Author

yevhen-hryhorevskyi commented Apr 10, 2018 via email

@yesmeck yesmeck merged commit 1178169 into react-component:master Apr 16, 2018
@yesmeck
Copy link
Member

yesmeck commented Apr 16, 2018

Published as 3.1.0, could you send a PR to ant-design to upgrade its dependencies.

@yevhen-hryhorevskyi
Copy link
Contributor Author

Here is a PR for that: ant-design/ant-design#10089

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants