当我使用** react js **时,我如何在占位符中使用字体真棒图标?
在HTML中,通过在占位符中使用 unicode 并将字体式变为“ Font Awesome 5 free free free free free free free free free free free free free free free free free free free free free free free free free free',在占位符中使用字体很棒的图标非常容易。 AS,React使用JSX而非HTML,我面临的问题是使用占位符的字体。在这种情况下,我该如何在占位符中使用字体很棒? 还是我可以在占位符中使用的任何其他图标会更有效?
In HTML , it is quite easy to use font awesome icons in placeholder by using the unicode in placeholder and changing the font-style to 'Font Awesome 5 Free' . As , React uses JSX not html , I am facing problem to use the font awesome in placeholder. In this case, how can I use font awesome in Placeholder?
Or there are any alternative icons which I can use in placeholder which will be more efficient?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论