Skip to content

Commit

Permalink
Feat 41279 Update docs for Popper component with missed words
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronicusUA committed May 6, 2024
1 parent 3ce5dc8 commit 795aabd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -959,12 +959,12 @@ The PaginationItems's `components` was deprecated in favor of `slots`:
Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#popper-props) below to migrate the code as described in the following sections:

```bash
npx @mui/codemod@latest deprecations/popper-props <path>
npx @mui/codemod@next deprecations/popper-props <path>
```

### components

The Popper's `components` was deprecated in favor of `slots`:
The Popper's prop `components` was deprecated in favor of `slots`:

```diff
<Popper
Expand All @@ -975,7 +975,7 @@ The Popper's `components` was deprecated in favor of `slots`:

### componentsProps

The Popper's `componentsProps` was deprecated in favor of `slotProps`:
The Popper's prop `componentsProps` was deprecated in favor of `slotProps`:

```diff
<Popper
Expand Down

0 comments on commit 795aabd

Please sign in to comment.