如何编辑React-Admin Muitablecell或其他MUI组件? 我和用反应的管理员构建管理员,其文档几乎没有关于如何编辑桌子网格或其他组件的许可。我需要编辑MuitableCell的填充。目前,它...

问题描述 投票:0回答:1

这就是我想要实现的(我使用浏览器检查员编辑) enter image description here

我有以下内容(此theme.jsenter image description here位于`util中):

theme.js

这是我当前的目录结构:
function getTheme(name) {
  return createMuiTheme({
    ...themeConfig[name],
    ...themeConfig.common,
    overrides: {
      MuiTableCell: {
        root: {
          padding: "50px"
        } 
      }
    }
  });
}

任何有关如何编辑网格或仪表板的指导?谢谢!
    

旅行
   |-- node_modules
   |-- public
   |-- src
     |-- components
     |-- pages
       |-- dashboard.js 
     |-- posts
     |-- util
       |-- theme.js
传递到您的datagrid:

size="medium"
next.js material-ui react-admin
1个回答
0
投票

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.