mikaelvesavuori / figmagic

Figmagic is the missing piece between DevOps and design: Generate design tokens, export graphics, and extract design token-driven React components from your Figma documents.
https://docs.figmagic.com
MIT License
807 stars 71 forks source link

Non-nested elements must have the layout element using the Component name or it fails #133

Open mikaelvesavuori opened 2 years ago

mikaelvesavuori commented 2 years ago

(This is an older, anecdotal issue and needs to be re-verified and investigated!)

This concerns (React) element generation.

Non-nested elements need to have the layout element using the Component name (such as ”Slider”), else it fails.

Investigate if possible to meaningfully update the implementation/code to support a less rigid pattern, so users can call the main layout element whatever they want.