Skip to content

Instantly share code, notes, and snippets.

@mficzel
Created February 22, 2022 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mficzel/f9fd8e375ec8ac2229c17665111a0403 to your computer and use it in GitHub Desktop.
Save mficzel/f9fd8e375ec8ac2229c17665111a0403 to your computer and use it in GitHub Desktop.
Themed Component
prototype(Vendow.Site:ThemedComponent) < prototype(Neos.Fusion:Component) {
name = null
theme = 'Theme1'
# all props
renderer = Neos.Fusion:Renderer {
type = ${props.theme + ':' + props.name}
element.@apply.props = ${props}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment