Skip to content
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 padding attribute to the component #12162

Closed
HRK44 opened this issue Jul 16, 2018 · 1 comment
Closed

[Table] Add padding attribute to the component #12162

HRK44 opened this issue Jul 16, 2018 · 1 comment
Labels
component: table This is the name of the generic UI component, not the React module! new feature New feature or request

Comments

@HRK44
Copy link
Contributor

HRK44 commented Jul 16, 2018

The padding attribute in the TableCell is useful but it's kind of a pain in the ass to add it to every cell (or cell generation loops) if we want the whole Table to be dense for example.

I think that it would be great to have <Table padding="dense">...</Table> that would apply the padding to the whole table. If it's defined in the child component, it should override the parent attribute value.

@mbrookes mbrookes added component: table This is the name of the generic UI component, not the React module! new feature New feature or request labels Jul 16, 2018
@oliviertassinari
Copy link
Member

@HRK44 I agree, we can solve this pain point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: table This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants