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