Scripts written for Figma's dynamic-page mode can call figma.getNodeByIdAsync() and instance.getMainComponentAsync(); both resolve to the same nodes as their synchronous forms. getMainComponentAsync joins the instance surface type check against @figma/plugin-typings. |
||
|---|---|---|
| .. | ||
| app/shell/support | ||
| e2e | ||
| engine | ||
| figma | ||
| fixtures | ||
| helpers | ||
| AGENTS.md | ||