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

[docs] Fix typos (@omahs) #42888

Merged
merged 2 commits into from
Jul 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Undo change
  • Loading branch information
aarongarciah committed Jul 8, 2024
commit 570e5524b9052ef1497201e6bc8b09b9bd2f575a
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Add `dir="rtl"` to the app's root `<html>` to set the global text direction:
<html dir="rtl"></html>
```

If you can't set the `dir` attribute directly on the root `<html>` element, as a workaround, use the JavaScript API before the page is rendered:
If your React app doesn't control the root `<html>`, use the JavaScript API before the component tree is rendered, as a workaround:

```js
document.dir = 'rtl';
Expand Down
Loading