以下是用于控制不同文本变体的字体系列的语法。
查看主题中可用属性的最简单方法是查看默认主题的结构:https : //material-
ui.com/customization/default-theme/
const theme = createMuiTheme({ typography: { h1: { fontFamily: "Comic Sans MS" }, h2: { fontFamily: "Arial" }, h3: { fontFamily: "Times New Roman" }, h4: { fontFamily: "verdana" }, button: { fontFamily: "Comic Sans MS" } }});


