我想对我的文本应用两个不同的 Typography 标签,但我不想在它们之间换行。
这就是我所拥有的:
<Typography variant="title" color="inherit" noWrap>
Project:
</Typography>
<Typography variant="subheading" color="inherit" noWrap>
Example
</Typography>
这是它的样子(带换行符):
工作示例:https : //codesandbox.io/s/jzmz7klzmy
如何删除换行符?