Contents

init(content:header:)

Creates a section with a header and the provided section content.

Declaration

init(@TabContentBuilder<SelectionValue> content: () -> Content, @ViewBuilder header: () -> Header) where Header : View, Footer == EmptyView

Parameters

  • content:

    The section’s content.

  • header:

    A view to use as the section’s header.

See Also

Creating a tab section