oalexdoda / webflow-react

A CLI tool used to convert a Webflow project to React JS.
https://npmjs.com/package/webflow-react
Apache License 2.0
89 stars 6 forks source link

Generate default controllers for components with sockets #13

Open oalexdoda opened 5 years ago

oalexdoda commented 5 years ago

Let's say you have a component called "menu". And Then you have multiple "menuItem" components inside that menu. A default controller (or meta?) could be generated by the script under "default.js" where it would work like this: