init(header: Parent, content: () -> Content)
Creates a section with a header and the provided section content.
Available when
Parent
conforms to View
, Content
conforms to View
, and Footer
is EmptyView
.init(footer: Footer, content: () -> Content)
Creates a section with a footer and the provided section content.
Available when
Parent
is EmptyView
, Content
conforms to View
, and Footer
conforms to View
.