Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs 如何将FormControl转换为TextField材质Ui_Reactjs_Material Ui - Fatal编程技术网

Reactjs 如何将FormControl转换为TextField材质Ui

Reactjs 如何将FormControl转换为TextField材质Ui,reactjs,material-ui,Reactjs,Material Ui,这是来自某个项目的旧代码: <FormControl fullWidth><InputLabel className = {classes.inputLabel} >نوع فرم نامه</InputLabel> <Select TabIndicatorProps={{style: {backgroundColor: themeStyle.placeHolderTextColor}}} native autoFocus id=&quo

这是来自某个项目的旧代码:

<FormControl fullWidth><InputLabel className = {classes.inputLabel} >نوع فرم نامه</InputLabel>
    <Select TabIndicatorProps={{style: {backgroundColor: themeStyle.placeHolderTextColor}}}
    native autoFocus id="letILetTvCodeInt" onChange={this.handleChange} >
    {Tools.GetSelectOptions(this.state.LetType, 'LetTVCodeInt', 'LetTNameStr')}</Select>
</FormControl>
const styles = theme => ({
    cssLabel: {
        color: themeStyle.textFieldUnderLineColor,
        "&.Mui-focused": {
          color: themeStyle.tabIndicatorProps,
        }
    },
    cssFocused: {},
    underline: {
        '&:before': {
            borderBottomColor: themeStyle.textFieldUnderLineColor,
        },
        '&:after': {
            borderBottomColor: themeStyle.tabIndicatorProps,
            color: themeStyle.tabIndicatorProps,
        },
        '&:hover:before': {
            borderBottomColor: [themeStyle.appBarRDbgk, '!important'],
        },
        color: themeStyle.dialogContentColor,
    },
    notchedOutline: {
    },
    outlinedInput: {
        '&$focused $notchedOutline': {
            border: `2px solid ${themeStyle.tabIndicatorProps}`
        },
        backgroundColor: themeStyle.bkgBodyColor
    },
    focused: {},
    notchedOutline: {},
})