【发布时间】:2019-08-11 01:23:18
【问题描述】:
您好,下面我有以下印刷代码已被示例替换,但确实代表了我的代码,正如您所见,我必须多次调用 Typography 并且想知道是否有更有效的方法来执行此操作?
<Typography className = { classes.titleText } variant="title" >Main Details</Typography><Divider />
<Typography className = { classes.titleText } variant="subheading" >Example: </Typography>
<Typography className = { classes.titleText } variant="subheading" >Example: </Typography>
<Typography className = { classes.titleText } variant="subheading" >Example: </Typography>
<Typography className = { classes.titleText } variant="subheading" >IExample: </Typography>
<Typography className = { classes.titleText } variant="subheading" >Example: </Typography>
<Typography className = { classes.titleText } variant="subheading" >Example: </Typography>
<Typography className = { classes.titleText } variant="subheading" >Example: </Typography>
<Typography className = { classes.titleText } variant="subheading" >Example: </Typography>
<Typography className = { classes.titleText } variant="subheading" >Example: </Typography>
【问题讨论】:
标签: javascript reactjs material-design