init(content: () -> Content, header: () -> Parent)
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(content: () -> Content, footer: () -> Footer)
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
.