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
Similar to #215, our designer is also using Icons as children instead of instance swap properties.
Is it possible to use the getProps on this result to get the properties of this mapped instance?
Note: when there is an instance swap property, figma.instance('icon').getProps<{ name: string }>() does work but this specific component in Figma does not have one.
Good day!
Similar to #215, our designer is also using Icons as children instead of instance swap properties.
Is it possible to use the
getProps
on this result to get the properties of this mapped instance?Figma
What I'd like to do
Similar to
Note: when there is an instance swap property,
figma.instance('icon').getProps<{ name: string }>()
does work but this specific component in Figma does not have one.What it looks like now
What I would like it to be
Please provide:
Thanks for the help!
The text was updated successfully, but these errors were encountered: