Fork me on GitHub
#reagent
<
2021-07-24
>
edo20:07:44

Hi everyone, any hint on how to use react-icons package in clojurescript/reagent https://react-icons.github.io/react-icons/? Iā€™m using the boilerplate with shadow-cljs + tailwind from jacekschae https://github.com/jacekschae/shadow-cljs-tailwindcss

p-himik20:07:09

Convert the imports to what shadow-cljs supports by consulting this documentation section: https://shadow-cljs.github.io/docs/UsersGuide.html#_using_npm_packages Then, just use [:> FaBeer] or something like that - regular React-Reagent interop.

edo20:07:04

Great! Thanks @U2FRKM4TW, it worked šŸš€

šŸ‘ 3