MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
preview-bde5107a6ac1a.js:2 Warning: React does not recognize the `touchRippleRef` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `touchrippleref` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Expected behavior
Either:
No warning in the console.
The docs more clearly explaining that only GridActionsCellItem can be used. And if possible the return type narrowed down to something like React.ComponentType<{ touchRippleRef: React.MutableRefObject<HTMLElement> }>
Steps to reproduce
Link to live example: https://stackblitz.com/edit/react-jnjfk7?file=Demo.tsx
Steps:
Current behavior
it logs
Expected behavior
Either:
GridActionsCellItem
can be used. And if possible the return type narrowed down to something likeReact.ComponentType<{ touchRippleRef: React.MutableRefObject<HTMLElement> }>
Context
I was trying to add a tooltip to a disabled action https://github.com/mui/mui-x/issues/2871.
Your environment
``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```npx @mui/envinfo
Search keywords: getActions warning