You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect the output to look like this, so that if it were copied and pasted into another React component, it would use the actual enum from the code, rather than using a string:
I have tried this with the enum being imported, with it being local to the code connect file, with the enum's type being number, and with it's type being string, and they all result in the same output described above.
The text was updated successfully, but these errors were encountered:
I'm not sure if I'm misunderstanding the documentation or if this is a bug or limitation of some kind.
Based on this example from the React README:
Here's a stripped down version of the code connect file to try to isolate the issue:
and the output in Figma's dev mode for a button with the iconLocation variant property set to "left":
I would expect the output to look like this, so that if it were copied and pasted into another React component, it would use the actual enum from the code, rather than using a string:
I have tried this with the enum being imported, with it being local to the code connect file, with the enum's type being number, and with it's type being string, and they all result in the same output described above.
The text was updated successfully, but these errors were encountered: