code-connect
code-connect copied to clipboard
What if there are props inside props?
- Expectation: display Label and expose label value when is Label is true
- Actual result: Exposed
{props.label}as a string as it is
Code
props: {
// ..
isLabel: figma.boolean("is Label", {
true: <InputLabel>{props.label}</InputLabel>,
false: undefined,
}),
}
Snippet
Hey @dusskapark, thanks for raising this! It's definitely something we want to support and we're thinking through how to best work it into the API. We'll keep you posted
+1 to this feature