Contents

init(content:label:)

Creates a disclosure group with the given label and content views.

Declaration

init(@ViewBuilder content: @escaping () -> Content, @ViewBuilder label: () -> Label)

Parameters

  • content:

    The content shown when the disclosure group expands.

  • label:

    A view that describes the content of the disclosure group.

See Also

Creating a disclosure group