简体   繁体   English

如何更改 MUI 图标边框粗细

[英]How you Change MUI icon border thickness

How you Change MUI icon border thickness如何更改 MUI 图标边框粗细

  • suppose this icon is having thickness how to make setting icon border lighter假设这个图标有厚度如何使设置图标边框更轻

在此处输入图像描述

There is a trick with css (stroke must have the same color as your background) css有一个技巧(笔画必须与背景颜色相同)

<YourMuiIcon sx={{ stroke: "#ffffff", strokeWidth: 1 }} />

@Sephyre thanks a lot for your beautiful answer @Sephyre 非常感谢您的精彩回答

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM