kotlin-wrappers icon indicating copy to clipboard operation
kotlin-wrappers copied to clipboard

Add wrapper for antd

Open gtn1024 opened this issue 1 year ago • 2 comments
trafficstars

Hi, Kotlin/JS is great. I am currently writing project with it.

Is it possible to provide antd wrapper? I used Karakum to generate Kotlin definition but failed.

It will be much more great if provide specific methods, which will help more people using Kotlin/JS!

gtn1024 avatar Mar 26 '24 14:03 gtn1024

My take as of now is that until those types are available under this repository, the best way to approach the problem is:

  1. tweak the Karakum settings until the outputted types are decent
  2. run a good re-format of everything
  3. refactor manually what doesn't compile
  4. adjust the externals that don't look correct (e.g., Double instead of Int, missing Record usages, etc.)

That is what I do. You can read and inspect my code https://github.com/lppedd/kotlin-externals#initial-generation

lppedd avatar Mar 27 '24 13:03 lppedd

@gtn1024 Hi,I have the same problem as you. I just spent a day wrapper the DayJS library. I'm about to wrapper the Antd library. How's your progress? How about we wrapper together and contribute to Kotlin-wrappers?

leerenbo avatar Aug 12 '24 08:08 leerenbo