bernaferrari / FigmaToCode

Generate responsive pages and apps on HTML, Tailwind, Flutter and SwiftUI.
https://www.figma.com/community/plugin/842128343887142055
GNU General Public License v3.0
3.58k stars 262 forks source link

[SwiftUI] its not converting component correctly in SwiftUI. #101

Open AshwiniShinde12 opened 1 month ago

AshwiniShinde12 commented 1 month ago

The FigmaToCode Plugin not correctly converting figma UX into swift UI code.

  1. When FIgma UX has input field still its converting input field to text in swiftUI.
  2. Same for Button also it is coming as text components.
  3. And every component has static hight and width.

Above are the issue i found while converting figma ux into swiftUI using figma to code plugin.

bernaferrari commented 1 month ago

The issue is that there is not a way for me to identify buttons or inputs. How do I think I should identify them? What's the difference between a button and an input?