Skip to content

Commit 1ece87f

Browse files
omahsaarongarciah
authored andcommitted
[docs] Fix typos (#42862)
Signed-off-by: omahs <[email protected]> Co-authored-by: Aarón García Hervás <[email protected]>
1 parent fab876e commit 1ece87f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/data/material/customization/right-to-left/right-to-left.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ Add `dir="rtl"` to the app's root `<html>` to set the global text direction:
2020
<html dir="rtl"></html>
2121
```
2222

23-
If your React app doesn't control the root `<html>`, use the JavaScript API before the component tree is rendered, as a workaround:
23+
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:
2424

2525
```js
2626
document.dir = 'rtl';
2727
```
2828

2929
#### Locally
3030

31-
Add the `dir="rtl"` attribute to any other HTML element or React component if you need limit the scope of the text direction to that element and its children.
31+
Add the `dir="rtl"` attribute to any other HTML element or React component if you need to limit the scope of the text direction to that element and its children.
3232

3333
:::warning
3434
Components that use React portals (like the [Dialog](/material-ui/react-dialog/)) do _not_ inherit the `dir` attribute from parents, because they actually render outside of their parental DOM trees.

docs/pages/blog/mui-x-mid-v6-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Check out all the possibilities in the [Date Pickers—Digital clock documentati
6969
### Filter on column headers [<span class="plan-pro"></span>](/x/introduction/licensing/#pro-plan 'Pro plan')
7070

7171
Filtering on column headers gives users the ability to quickly filter data without any additional menu.
72-
Use the the `unstable_headerFilters` prop to activate this feature.
72+
Use the `unstable_headerFilters` prop to activate this feature.
7373

7474
The new filter fields are displayed below the headers, and are synchronized with the filter panel.
7575
If you prefer more simplicity, you can disable the default filter panel using the `disableColumnFilter` prop, and set filters to use only the default operator.

0 commit comments

Comments
 (0)