package testcall
templ showAll() {
@a()
@b(c("C"))
@d()
@showOne(e())
@wrapChildren() {
Child content
}
}
templ a() {
A
}
templ b(child templ.Component) {
B
@child
}
templ c(text string) {
{ text }
}
templ d() {
Legacy call style
}
templ e() {
e
}
templ showOne(component templ.Component) {
@component
}
templ wrapChildren() {
{ children... }
}