如何使用 MUI sx inline 删除此边框样式

How can I remove this border style using MUI sx inline

希望使用 mui 中的内联 sx 属性删除图像中的边框属性。

如果这很重要,它是一个文本字段..

您可以在 TextField

中试试这个 sx 道具
sx={{
      "& .MuiOutlinedInput-notchedOutline": {
             border: "0 none",
           },
    }}

这就是您找到它的方式