-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
component: TablePaginationThe React component.The React component.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.
Description
Steps to reproduce
Link to live example: (required)
Steps:
- install
@mui/material-ui@5.15.10 - read the TablePagination API documentation for this version and note that
slotsandslotPropsprops have a lot of properties e.g.nextButtonIcon

- use the
TablePaginationcomponent in JSX or override style withtheme.components.MuiTablePagination.defaultPropsproperties - note that only
actionsorselectproperties are available

Current behavior
only actions or select properties are available on slots and slotProps props (on TablePagination component)
Expected behavior
nextButtonIcon or previousButtonIcon properties are available on slots and slotProps props (on TablePagination component) as mentioned in the web documentation
Context
e.g. override theme.components.MuiTablePagination.defaultProps.slots.nextButtonIcon
Your environment
npx @mui/envinfo
System:
OS: Linux 5.10 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
Binaries:
Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
pnpm: Not Found
Browsers:
Chrome: 120.0.6099.129
npmPackages:
@emotion/react: ^11.11.3 => 11.11.3
@emotion/styled: ^11.11.0 => 11.11.0
@mui/base: 5.0.0-beta.36
@mui/core-downloads-tracker: 5.15.10
@mui/material: ^5.15.10 => 5.15.10
@mui/private-theming: 5.15.9
@mui/styled-engine: 5.15.9
@mui/system: 5.15.9
@mui/types: 7.2.13
@mui/utils: 5.15.9
@types/react: ^18.2.48 => 18.2.48
react: ^18.2.0 => 18.2.0
react-dom: ^18.2.0 => 18.2.0
typescript: ^5.3.3 => 5.3.3
Search keywords: TablePagination slots slotProps
Metadata
Metadata
Assignees
Labels
component: TablePaginationThe React component.The React component.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.