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

Warning: Failed prop type: Invalid prop `detailPanel` supplied to `MaterialTable`.

Open lfsando opened this issue 7 years ago • 3 comments

Started happening in version 1.54.1

Warning detailPanelWarning

Code detailPanelCode

<TelephoneDetails /> is just a div with a <p> tag.

lfsando avatar Nov 26 '19 17:11 lfsando

Am also having the same issue but in different Icon(Add).

mageshk98 avatar Nov 28 '19 13:11 mageshk98

found a solution for this warning in my case, maybe the source of your warning its not the same

Since the warning is throwed by some object validation i started to removing items hoping the warning goes away to find the issue, and realize that when i removed the icon prop, the warning was gone, so i took a look in the docs again and saw the problem:

I was declaring the icon prop in the wrong way: wrong

Right way: right

brunojkurt avatar Jan 31 '20 12:01 brunojkurt

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Jun 30 '20 21:06 stale[bot]