Contents

init(content:label:)

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

Declaration

nonisolated init(@ContentBuilder content: @escaping () -> Content, @ContentBuilder 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