How do I custom style the underline of Material-UI without using theme?

前端 未结 3 1622
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-28 16:24

I have success with outline custom styling when variant=\"outlined\" and I use notchedOutline in InputProps.

Otherwise -

3条回答
  •  萌比男神i
    2020-11-28 16:52

    Not sure which version of material-ui you are using, but you can override classes as needed, see the following API documentation:

    https://material-ui.com/api/outlined-input/#demos

    https://material-ui.com/api/outlined-input/

提交回复
热议问题