Contents

init(_:content:)

Creates a section with the provided content.

Declaration

init(_ titleKey: LocalizedStringKey, @TabContentBuilder<SelectionValue> content: () -> Content) where Header == Text, Footer == EmptyView

Parameters

  • titleKey:

    The localized string key label for the section’s header.

  • content:

    The section’s content.

See Also

Creating a tab section