📜  如何编辑组件 mui - 任何代码示例

📅  最后修改于: 2022-03-11 14:54:58.658000             🧑  作者: Mango

代码示例1
import { Typography as MuiTypography, withStyles } from "@material-ui/core";
const Typography = withStyles((theme) => ({
  root: {
    lineHeight: 1.5,
    fontSize: 18,
    color: theme.palette.secondary.main,
  },
}))(MuiTypography);
export default Typography;