mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

footerRowCount slot does not override

Open TonyBrobston opened this issue 9 months ago • 0 comments

Steps to reproduce

Link to live example: https://codesandbox.io/p/sandbox/charming-gauss-rt62xq?file=%2Fsrc%2FDemo.tsx

Steps:

  1. Open the link above
  2. Select at least one row
  3. Observe that the footerRowCount says x row(s) selected rather than This 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

TonyBrobston avatar May 02 '24 14:05 TonyBrobston