Hi there, I'm trying to use React Leaflet with Kot...
# react
z
Hi there, I'm trying to use React Leaflet with KotlinReact, but there are no wrapper for it. Is there a easy way for me to generate the wrapper codes for the tsx files or is this manual labour? (dukat at least generates the code for the Props etc, but the FCs are missing....) Or better question: How are you guys generating the Kotlin Wrappers for React? If I am not mistaken they are generated (semi-)automatically.
@turansky is there anywhere a repository with the generator?
t
How are you guys generating the Kotlin Wrappers for React? If I am not mistaken they are generated (semi-)automatically.
• We don’t use Dukat • Converter is here
🥳 1
If Leaflet has fine API and fine typings it will not be hard co convert it
z
Thanks a lot!
g
@turansky I followed that link above and it just goes to the repo and there aren't instructions for how to use the converter on JavaScript libraries. Could you provide some brief instructions? That would be awesome
t
Current implementation - super draft. For fine conversion
typescript-kotlin
recommended as parser.
c
Where do you find these generated types once you add you set the non("app","version",true) I don't see any new files, and if type name of the npm package I don't find anything