Skip to content

Commit 75b988d

Browse files
JoshuaLicenseoliviertassinari
authored andcommitted
[Table] Remove padding from getting spread to native element (#12505)
1 parent 90fa749 commit 75b988d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/material-ui/src/Table/Table.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Table extends React.Component {
2525
}
2626

2727
render() {
28-
const { classes, className, component: Component, ...other } = this.props;
28+
const { classes, className, component: Component, padding, ...other } = this.props;
2929

3030
return <Component className={classNames(classes.root, className)} {...other} />;
3131
}

0 commit comments

Comments
 (0)