Open l-campbell opened 3 weeks ago
Hi @l-campbell, right now we don't support this I'm afraid, but it's on our roadmap as we know some design system do use overrides like this instead of props. I'll keep this issue open so we can update you on progress.
Thanks @tomduncalf-figma!
Just chiming in here to say that our design team also uses a similar approach in some components, so it's great to hear it will be supported 🎉
+1 for needing this functionality
Question
I have a Figma component that uses a "Text" layer instead of a property. With code connect, is there a way to target this layer to map to a coded component prop? In my scenario, I'm trying to map this to the
label
prop in the coded component. I've tried usingfigma. children()
with the name of the layer with no success, I know this isn't the intended here.Context
Layers
All the nested layers in this tree are either row or column layouts.
Render
Info
Code connect