Skip to content
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.

notification problem #19

Open
orlandovallejos opened this issue Dec 20, 2018 · 0 comments
Open

notification problem #19

orlandovallejos opened this issue Dec 20, 2018 · 0 comments

Comments

@orlandovallejos
Copy link

I'm having a problem when I try to use the notification component.

I want to set a ReactNode like this:

notification.open({
  message: 'Notification Title',
  description: (<FormattedMessage
    id="myKey"
  />)
});

But that is because the HTML element that is created to show the notification is rendered at body level. So, it's not wrapped inside a IntlProvider. It makes sense.
However, I need to show translated messages. Is there any change to make it work?

image

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

No branches or pull requests

1 participant