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
[docs] Improve right to left guide #27713
Conversation
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
|
||
{{"demo": "pages/guides/right-to-left/RtlOptOut.js", "hideEditButton": true}} | ||
{{"demo": "pages/guides/right-to-left/RtlOptOutStylis.js", "hideToolbar": true}} |
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 detail, if we only want to disable the preview and keep the toolbar, we could use "defaultCodeOpen": false
.
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.
Most of this demo is irrelevant. It really is just about noflip
usage.
Closes #27701
Changes done:
emotion
andstyled-components
firststylis
in the instruction for the installation of thestylis-plugin-rtl
(I've spent an hour debugging [docs] RTL not working when stylis is not installed #27701 before I realized thatstylis
is missing in the dependencies)Preview https://deploy-preview-27713--material-ui.netlify.app/guides/right-to-left/