【发布时间】:2020-11-28 08:01:32
【问题描述】:
如何为 TextField InputLabelProps 制作这种样式
const styles = theme => ({
inputLabel: {
'&:before': {
color: themeStyle.textFieldUnderLineColor,
},
'&:after': {
color: themeStyle.tabIndicatorProps,
},
'&:hover:before': {
color: [themeStyle.appBarRDbgk, '!important'],
},
color: themeStyle.dialogContentColor,
},})
我是这样使用的:
<TextField InputLabelProps={classes.inputLabel}> </TextField>
但它不起作用。
【问题讨论】:
标签: reactjs material-ui