wixplosives/codux-core

UI does not expose props for discriminated union types

scottpage opened this issue · 1 comments

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.

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.