Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wrapper for antd #2232

Open
gtn1024 opened this issue Mar 26, 2024 · 2 comments
Open

Add wrapper for antd #2232

gtn1024 opened this issue Mar 26, 2024 · 2 comments

Comments

@gtn1024
Copy link

gtn1024 commented Mar 26, 2024

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!

@lppedd
Copy link
Contributor

lppedd commented Mar 27, 2024

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

@leerenbo
Copy link
Contributor

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants