我使用此代码设置蚂蚁设计图标的粗细,但正如您在图像中看到的,有白色外边框。谁能帮我去掉这个白色的外边框,同时保持更薄的厚度?
我的代码看起来像
import { PlusCircleOutlined} from "@ant-design/icons";
<PlusCircleOutlined
style={{
fontSize: "54px",
color: "#408021",
stroke:"white",
strokeWidth:"40"
}}
/>
答案 0 :(得分:0)
删除 stroke
和 strokeWidth
:
import { PlusCircleOutlined} from "@ant-design/icons";
<PlusCircleOutlined
style={{
fontSize: "54px",
color: "#408021"
}}
/>