javascript - How to style adornment in Textfield material ui? - Stack Overflow

PHOTO EMBED

Wed Sep 15 2021 07:11:45 GMT+0000 (UTC)

Saved by @Tamil_10

<TextField
           name={'text'}
           variant="outlined"
           InputProps={{
               endAdornment:
               <IconButton onClick={()=>0}>x</IconButton>,
               classes: {
                          adornedEnd: classes.adornedEnd
                         }
               }}
           />
content_copyCOPY

https://stackoverflow.com/questions/56811449/how-to-style-adornment-in-textfield-material-ui