-
Notifications
You must be signed in to change notification settings - Fork 71
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
Unable to Use icon via code-connect #198
Comments
Hi @aditya-anant-zocdoc . Can you confirm whether this same issue occurs when you click on the variant in the file (not the playground) please? |
Hi @rrabherufigma Yes the same error is coming in variant as well here is the screenshot for ref. |
Hi @aditya-anant-zocdoc . Thank you. Can you try with figma.nestedProps I think it would be:
|
Hi @aditya-anant-zocdoc can you try the above code again please? The above code had an incorrect character which I have removed |
Hi @rrabherufigma Sorry for late reply, It is not working same error is coming |
HI @aditya-anant-zocdoc . Would you be willing to share your file with us so we can investigate further ? If so, please contact via support at Figma support |
HI @aditya-anant-zocdoc can you try
|
Hi @aditya-anant-zocdoc , can you share your full code connect file please |
i have attached file and link to figma is the support ticket : http://help.figma.com/hc/requests/1157416 |
Hi @aditya-anant-zocdoc Thank you. Please try changing |
Thank you for being so prompt on this issue. So it somewhat works. But it has some issue
rather it should be
|
Hi @aditya-anant-zocdoc . To support icons, please refer to this section in the documentation https://github.com/figma/code-connect/blob/main/docs/react.md#icons-as-react-components |
Code connect :
1.2.0
OS: Mac
Somona 14.6.1
I have code connected my icon library. Here is the code snipit for Icons
The Icons master component looks like this and the code connect's code
When I try to use these icon for other component for ex Pill, here is the usage
However in figma I see the error when
leftIcon
bool is set to true.Is there anything that I am doing wrong.
The text was updated successfully, but these errors were encountered: