We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What you were expecting: Following the tutorial I install and set up a React Admin project:
https://marmelab.com/react-admin/Tutorial.html
I should then be able to install Typescript and change files to .tsx and the app should run without any type warnings.
What happened instead: The App compiles without warnings in the terminal but throws warnings in the web tools console:
index.js:1 Warning: Failed prop type: The prop onExited of ForwardRef(Snackbar) is deprecated. Use the TransitionProps prop instead.
onExited
ForwardRef(Snackbar)
TransitionProps
Warning: Failed prop type: The prop onChangePage of ForwardRef(TablePagination) is deprecated. Use the onPageChange prop instead.
onChangePage
ForwardRef(TablePagination)
onPageChange
Warning: Failed prop type: The prop onChangeRowsPerPage of ForwardRef(TablePagination) is deprecated. Use the onRowsPerPageChange prop instead.
onChangeRowsPerPage
onRowsPerPageChange
index.js:1 Warning: Failed prop type: The prop onPageChange is marked as required in ForwardRef(TablePagination), but its value is undefined.
undefined
Warning: Failed prop type: The prop onChangePage is marked as required in PaginationActions, but its value is undefined.
PaginationActions
and also throws a deprecation warning:
Material-UI: The fade color utility was renamed to alpha to better describe its functionality.
fade
alpha
You should use import { alpha } from '@material-ui/core/styles'
import { alpha } from '@material-ui/core/styles'
Steps to reproduce: Install the app as mentioned above.
Related code:
git clone https://github.com/ryanmstokes/react-admin-typescript yarn yarn start
Environment
The text was updated successfully, but these errors were encountered:
Sorry this is a duplicate - found the solution in #6421
Sorry, something went wrong.
No branches or pull requests
What you were expecting:
Following the tutorial I install and set up a React Admin project:
https://marmelab.com/react-admin/Tutorial.html
I should then be able to install Typescript and change files to .tsx and the app should run without any type warnings.
What happened instead:
The App compiles without warnings in the terminal but throws warnings in the web tools console:
index.js:1 Warning: Failed prop type: The prop
onExited
ofForwardRef(Snackbar)
is deprecated. Use theTransitionProps
prop instead.Warning: Failed prop type: The prop
onChangePage
ofForwardRef(TablePagination)
is deprecated. Use theonPageChange
prop instead.Warning: Failed prop type: The prop
onChangeRowsPerPage
ofForwardRef(TablePagination)
is deprecated. Use theonRowsPerPageChange
prop instead.index.js:1 Warning: Failed prop type: The prop
onPageChange
is marked as required inForwardRef(TablePagination)
, but its value isundefined
.Warning: Failed prop type: The prop
onChangePage
is marked as required inPaginationActions
, but its value isundefined
.and also throws a deprecation warning:
Material-UI: The
fade
color utility was renamed toalpha
to better describe its functionality.You should use
import { alpha } from '@material-ui/core/styles'
Steps to reproduce:
Install the app as mentioned above.
Related code:
Environment
The text was updated successfully, but these errors were encountered: