Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it usable for fusion users ;) #6

Open
mhsdesign opened this issue Nov 10, 2022 · 0 comments
Open

Make it usable for fusion users ;) #6

mhsdesign opened this issue Nov 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mhsdesign
Copy link
Contributor

mhsdesign commented Nov 10, 2022

lazy approach: using the php transpilation files:

renderer = PackageFactory.ComponentEngine:Component {
     class = "Vendor\\Project\\Component\\Button"
     props {
         type = "BUTTON"
         content = "Text"
     }
 }

or wait we have already https://github.com/sitegeist/Sitegeist.Rollup (need to check if it handles enums correctly)

also we want the render method to be called... or wait will do with __toString?

String.toString or sth can be used to cast via @process

@grebaldi grebaldi added the enhancement New feature or request label Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants