如何设置材质 UI 表格标题的样式?
也许像使用 useStyle 添加类之类的东西。
<TableHead >
<TableRow >
<TableCell hover>Dessert (100g serving)</TableCell>
<TableCell align="right">Calories</TableCell>
<TableCell align="right">Fat (g)</TableCell>
<TableCell align="right">Carbs (g)</TableCell>
<TableCell align="right">Protein (g)</TableCell>
</TableRow>
</TableHead>Run Code Online (Sandbox Code Playgroud)
我想为表头添加样式
我将 Storybook 与 React 结合使用,并尝试添加具有默认值的 Storybook 选择控件,但没有成功。文档中没有任何相关内容。

我需要默认选择上述选项之一。
argTypes: {
iconSrc: {
options: Object.keys(iconTypes),
mapping: iconTypes,
control: {
sort: 'requiredFirst',
type: 'select',
labels: {
BlueStep: 'Blue Step',
Step: 'Step',
Globe: 'Globe',
},
},
},
}
Run Code Online (Sandbox Code Playgroud)