【问题标题】:Material Ui TextField remove bottom borderMaterial Ui TextField 移除底部边框
【发布时间】:2020-12-22 09:41:54
【问题描述】:

我正在为我的项目使用材料 ui,这是我的 textField text field reality

你可以看到有一个底部边框下划线,但我想完全删除它,以前我通常使用边框:“0px”但我不知道如何自定义它,这就是我想要的

text field expectation

感谢您抽出时间帮助我,非常感谢您的努力,希望您有美好的一天

您可以在此代码框链接中进行编辑:codesanboxlink

【问题讨论】:

标签: reactjs material-ui frontend customization textfield


【解决方案1】:

对于这种情况,您可以从 material-ui 导入 InputBase

import InputBase from '@material-ui/core/InputBase';

你可以在代码框codesandboxlink看到你的例子

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-06-23
    • 2020-04-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-07
    • 1970-01-01
    相关资源
    最近更新 更多