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
Currently, when generating elements (i.e. "React components"), images are not supported.
Example: If you were to generate a button with a background-image, the generation would attempt to understand the general CSS properties but bypass the image.
I assume that an implementation of this would result in a background-image property to be generated. It would also be necessary to download the image and ensure that one is correctly pointing to it.
The text was updated successfully, but these errors were encountered:
@mikaelvesavuori is this the same issue as elements not referencing icons (graphics) they were built with in Figma? For example, we have buttons with leading and trailing icons, and these icons are configured as graphics that are pulling correctly using Figmagic. However, the imported button elements are not referencing said graphics in the generated React component.
Almost. This issue is about images as defined in CSS. Your issue is about supporting image references in elements, if I am not mistaken. Both of these cases are currently not supported.
Currently, when generating elements (i.e. "React components"), images are not supported.
Example: If you were to generate a button with a background-image, the generation would attempt to understand the general CSS properties but bypass the image.
I assume that an implementation of this would result in a
background-image
property to be generated. It would also be necessary to download the image and ensure that one is correctly pointing to it.The text was updated successfully, but these errors were encountered: