package ui type CardProps struct { Header templ.Component Body templ.Component Footer templ.Component } templ Card(props CardProps) {
if props.Header != nil {
@props.Header
} if props.Body != nil {
@props.Body
} if props.Footer != nil { }
}