Skip to content

Commit 62d8a93

Browse files
[docs] Update module reference for usePagination (#33675)
* Update module reference for usePagination 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` * docs: usePagination should be a default import usePagination is also a default import
1 parent 2c0a81d commit 62d8a93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/data/material/components/pagination/pagination.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ related to the rendering of JSX.
6161
The Pagination component is built on this hook.
6262

6363
```jsx
64-
import { usePagination } from '@mui/material/Pagination';
64+
import usePagination from '@mui/material/usePagination';
6565
```
6666

6767
{{"demo": "UsePagination.js"}}

0 commit comments

Comments
 (0)