-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
New issue
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
[Table] Add TableContainer component #18699
[Table] Add TableContainer component #18699
Conversation
@material-ui/core: parsed: +0.13% , gzip: +0.06% Details of bundle changes.Comparing: d30e5ae...07ada28
|
I have some concerns with the change in the DOM structure and the option to go with a |
What if instead of wrapping the table with a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After further reflection, I'm no longer sure this prop is the best approach. The fact that it changes the DOM structure for a single CSS property makes me uncomfortable.
I haven't realized that we had a very close effort in #9268. |
7d2ce98
to
187d884
Compare
It seems that we can be more explicit with this approach, looking at the demo changes, it seems to play out well: <TableContainer>
<Table aria-label="caption table"> |
187d884
to
5a065a0
Compare
5a065a0
to
d0755cf
Compare
@r3dm1ke Thanks |
Fixes #9221