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

Wrong variant in button in m-table-stepped-pagination.js

Open jonasanx opened this issue 7 years ago • 2 comments

I get the following error.

Warning: Failed prop type: Invalid prop 'variant' of value 'default' supplied to 'ForwardRef(Button)', expected one of ["text","outlined","contained"].

https://github.com/mbrn/material-table/blob/2dd0ca780abeda0b98445e986b9a39630aaca10e/src/components/m-table-stepped-pagination.js#L39

As explained in the error log, there's no a variant="default" option in the button component in @material-ui/core ^4.5.0 the available variants are: text, outlined and contained.

jonasanx avatar Oct 10 '19 01:10 jonasanx

PRs are welcome!

jayarjo avatar Oct 11 '19 09:10 jayarjo

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 15 '20 12:06 stale[bot]