【发布时间】:2020-07-28 20:56:23
【问题描述】:
我希望输出如下图所示。
我在下面找到了罐子
<!-- Create an icon wrapped by the fa-stack class -->
<span class="fa-stack">
<!-- The icon that will wrap the number -->
<span class="fa fa-circle-o fa-stack-2x"></span>
<!-- a strong element with the custom content, in this case a number -->
<strong class="fa-stack-1x">
2
</strong>
</span>
但此代码不在 REACT 中,我想使用 React-Fontawesome 在 REACT 中实现此代码
所以请帮我解决这个问题。
【问题讨论】:
标签: reactjs font-awesome next.js react-font-awesome