Does amy one have more advance examples (than the ...
# javascript
a
Does amy one have more advance examples (than the official Kotlin/JS website) to create a adapter for npm JS library to use it in Kotlin/JS? It doesn't seems to give me any error when I type the function name wrong, even in the browser console
a
You can take a look on the sources of the kotlin-react-wrapper: https://github.com/JetBrains/kotlin-wrappers/tree/master/kotlin-react
👍 1
a
Thanks
r
t
@Ahmed Riyadh for which NPM library you need declarations?
a
For Font Awesome icons, I just need a way to import the css for a specific icon so I can use it as a class in HTML, I'm more interested into creating my own solution because I want to contribute to a open source project that already implemented that but it import the CSS Cdn instead for all the icons
t
I just need a way to import the css for a specific icon
In Kotlin?
a
Kotlin/JS
t
Icon -
val
,
class
?