mui-x
mui-x copied to clipboard
footerRowCount slot does not override
Steps to reproduce
Link to live example: https://codesandbox.io/p/sandbox/charming-gauss-rt62xq?file=%2Fsrc%2FDemo.tsx
Steps:
- Open the link above
- Select at least one row
- Observe that the
footerRowCount
saysx row(s) selected
rather thanThis is a test
Current behavior
When I try to override footerRowCount
nothing happens.
Expected behavior
When I try to override footerRowCount
I expect x row(s) selected
to be overriden with the React I put in slots
-> footerRowCount
.
Context
Our UX team is wanting conditionally change what we see in the left side of the pagination/footer.
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: footerRowCount slots Order ID: 80452