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

UI does not expose props for discriminated union types #719

Open
scottpage opened this issue Feb 19, 2023 · 1 comment
Open

UI does not expose props for discriminated union types #719

scottpage opened this issue Feb 19, 2023 · 1 comment

Comments

@scottpage
Copy link

Codux does not expose the props for the component in this gist.

I understand that it's probably really difficult to support discriminated unions in TypeScript for a project like this.
However, it is an issue and I want to make sure you're aware of it.

I can work around this by simply making a single interface where most of the properties are optional. Then I'll just have to remember to look at that interface.

This is more of a like to have.

@matangeorgi
Copy link

Hey Scott,
Thank you for reaching out and informing us, we are aware of this issue and we are working on a solution.
For followup, we suggest you join us on Discord at: https://discord.gg/fg3Ywsa44N
Or you could contact our support at: https://help.codux.com/kb/en/contact
Best regards,
Matan.

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

2 participants