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(header: Parent, footer: Footer, content: () -> Content)
Creates a section with a header, footer, and the provided section content.
Available when
Parent
conforms to View
, Content
conforms to View
, and Footer
conforms to View
.