material-react-table icon indicating copy to clipboard operation
material-react-table copied to clipboard

muiPaginationProps does not include rowsPerPage

Open aaron-parisi-turngate opened this issue 9 months ago • 0 comments

material-react-table version

v2.13.0

react & react-dom versions

v16.8.0

Describe the bug and the steps to reproduce it

I am trying to set the number of rows per page via a prop and am unable to set rowsPerPage on muiPaginationProps even though MUI Table Pagination docs show rowsPerPage. I can set rowsPerPageOptions but that's not what I'm trying to do.

image

Minimal, Reproducible Example - (Optional, but Recommended)

	muiPaginationProps={{
		rowsPerPageOptions: [...]
		rowsPerPage: 5 // type error
	}}

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms

  • [X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

aaron-parisi-turngate avatar Apr 29 '24 18:04 aaron-parisi-turngate