Skip to content

Commit

Permalink
[docs] Fix typos (#42862)
Browse files Browse the repository at this point in the history
Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>
Co-authored-by: Aarón García Hervás <aaron@mui.com>
  • Loading branch information
2 people authored and web-flow committed Jul 8, 2024
1 parent fab876e commit 1ece87f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ Add `dir="rtl"` to the app's root `<html>` to set the global text direction:
<html dir="rtl"></html>
```

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

```js
document.dir = 'rtl';
```

#### Locally

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.
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.

:::warning
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.
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/blog/mui-x-mid-v6-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Check out all the possibilities in the [Date Pickers—Digital clock documentati
### Filter on column headers [<span class="plan-pro"></span>](/x/introduction/licensing/#pro-plan 'Pro plan')

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

The new filter fields are displayed below the headers, and are synchronized with the filter panel.
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.
Expand Down

0 comments on commit 1ece87f

Please sign in to comment.