Eric Scott
Eric Scott
We also have something like this. Though in our case, we have an intermediary subcomponent, which isn't ideal, but it is what it is. So in Figma node land, we...
+💯 to this! In our case, we have a boolean prop, where if true we want to expose some nested text... something like: In our props: ``` description: figma.boolean('Description', {...
I have this same question. I opened an issue [here](https://github.com/figma/code-connect/issues/165) because I wasn't sure if it was supported. In our case, we want to use the textContent from a layer...
@ptomas-figma first, thanks for asking!!! Second, I realized a mistake in wrapping `{ items }` when outside of the return statement, it should just be `items`. Still, that gets me...
@slees-figma Christopher Hodges told us on Slack that he spoke to the product team specifically about the Fragments bit, and that the web components API might allow us to do...
FWIW, we did this by adding every component to our `figma.config.json`. It's not elegant, but it works.
@slees-figma this would be awesome. You could also enforce eslint configs (as well as prettier).
@tomduncalf-figma I think this would be super beneficial to all companies. I was chatting with Chris Hodges the other day and he said there are 600!!! enterprise Figma customers either...
FWIW, It's also worth mentioning that anecdotally, one of the results of us hooking up Code Connect as a POC was identifying huge opportunities for refactoring our design components. We're...
Have you tried `figma.textContent()` instead of `figma.string`? If you are trying to read a prop on subcomponent called `Label` where the prop is also called `Label`, that should work. If...