-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Fix LocalesMenuButton's custom AppBar example and polyglotI18nProvider documentation #8452
Conversation
I don't think that's the right fix. We should start by explaining that it's inserted automatically if the i18nProvider is properly configured, then explain the manual insertion for custom appbars. |
I have applied the review to explain first on when this component should be used. It should now fix the incorrect order of parameters passed to polyglotI18nProvider, and also address duplicate LocalesMenuButton showing up in the AppBar if we want to customize the AppBar. |
@fzaninotto Re-request review |
Co-authored-by: Jean-Baptiste Kaiser <jbaptiste.kaiser@gmail.com>
Co-authored-by: Jean-Baptiste Kaiser <jbaptiste.kaiser@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One typo remaining (I'm not sure about the suggested fix so I'll let you review it @smeng9 ), otherwise this seems good to me, thanks!
Co-authored-by: Jean-Baptiste Kaiser <jbaptiste.kaiser@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
No description provided.