Skip to content

Commit

Permalink
Update module reference for usePagination
Browse files Browse the repository at this point in the history
While migrating to Material UI v5, we found the reference to the docs here were incorrectly referring to `Pagination`, but it should actually be `usePagination`
  • Loading branch information
fullstackzach authored Jul 27, 2022
1 parent 239c207 commit 23cddf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/material/components/pagination/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ related to the rendering of JSX.
The Pagination component is built on this hook.

```jsx
import { usePagination } from '@mui/material/Pagination';
import { usePagination } from '@mui/material/usePagination';
```

{{"demo": "UsePagination.js"}}
Expand Down

0 comments on commit 23cddf9

Please sign in to comment.