Hey, i am trying to use table component, as shown in this example:
https://material-ui.com/components/tables/
I'm importing the same components but i get the following error:
Module not found: Can't resolve '@material-ui/core/TableContainer'
I import it like this:
import TableContainer from '@material-ui/core/TableContainer';
other imported components like table, tablebody work just fine.
Is it a bug or something i am missing? I haven't found any extra npm install on the table topic in examples.
Thanks.
It sounds like you don't have the current version installed.
馃憢 Thanks for using Material-UI!
We use GitHub issues exclusively as a bug and feature requests tracker, however,
this issue appears to be a support request.
For support, please check out https://material-ui.com/getting-started/support/. Thanks!
If you have a question on StackOverflow, you are welcome to link to it here, it might help others.
If your issue is subsequently confirmed as a bug, and the report follows the issue template, it can be reopened.
It sounds like you don't have the current version installed.
Thanks, didn't see a new version came out!
It works now
Hello, if TableContainer does not exist in the new version, it is possible to remove the example that uses it on documentation?
https://material-ui.com/components/tables/ -> It uses it on Fixed header
@elena20ruiz Update to the latest version, the component will be defined;
Most helpful comment
It sounds like you don't have the current version installed.