Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/translations/api-docs/pagination/pagination.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"page": "The page selected."
}
},
"page": { "description": "The current page." },
"page": {
"description": "The current page. Unlike <code>TablePagination</code>, which starts numbering from <code>0</code>, this pagination starts from <code>1</code>."
},
"renderItem": {
"description": "Render the item.",
"typeDescriptions": { "params": "The props to spread on a PaginationItem." }
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Pagination/Pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ Pagination.propTypes /* remove-proptypes */ = {
*/
onChange: PropTypes.func,
/**
* The current page.
* The current page. Unlike `TablePagination`, which starts numbering from `0`, this pagination starts from `1`.
*/
page: integerPropType,
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/usePagination/usePagination.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface UsePaginationProps {
*/
onChange?: (event: React.ChangeEvent<unknown>, page: number) => void;
/**
* The current page.
* The current page. Unlike `TablePagination`, which starts numbering from `0`, this pagination starts from `1`.
*/
page?: number;
/**
Expand Down