简体   繁体   English

Stroke 不适用于 React-Icons

[英]Stroke not applied to React-Icons

Stroke or Text nothing is applied with react-icons react-icons 没有应用 Stroke 或 Text

 <AiOutlineArrowLeft
              className="cursor-pointer text-xl text-orange-800 stroke-4"
              onClick={(e) => handleBurger(e)}
            />

This is because tailwind only has stroke-0 , stroke-1 and stroke-2 classes defined whereas you had defined stroke-4 .这是因为 tailwind 只定义了stroke-0stroke-1stroke-2类,而您已经定义了stroke-4

Find more here 在这里找到更多

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

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