我在我的项目中使用Material UI Table组件。我想为TableRow组件提供边框样式。我正在使用scss classNames来给组件添加样式。通常边框样式是在TableCell中处理的,但它不适合我的需求。有什么方法可以给TableRow设置边框样式吗?
TableRow接口- https://material-ui.com/api/table-row/#css
我做了一个Codesandbox实现here
发布于 2020-11-10 20:27:25
您只需删除TableCell%s的下边框即可
将此CSS规则添加到demo.scss
.MuiTableCell-root {
border-bottom: none;
}https://stackoverflow.com/questions/64766105
复制相似问题