Material-ui: TableContainer Module not found

Created on 18 Dec 2019  路  5Comments  路  Source: mui-org/material-ui

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.

Table support

Most helpful comment

It sounds like you don't have the current version installed.

All 5 comments

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;

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zabojad picture zabojad  路  3Comments

rbozan picture rbozan  路  3Comments

chris-hinds picture chris-hinds  路  3Comments

pola88 picture pola88  路  3Comments

reflog picture reflog  路  3Comments