InfoSheetView

struct InfoSheetView<Content> : View where Content : View

A view that presents a sheet with a title and a close button. This view is intended to be used as a modal sheet.

Lifecycle

  • Undocumented

    Declaration

    Swift

    init(title: String, onClose: @escaping () -> Void, @ViewBuilder content: @escaping () -> Content)

Internal

  • Undocumented

    Declaration

    Swift

    let onClose: () -> Void
  • Undocumented

    Declaration

    Swift

    let content: Content
  • Undocumented

    Declaration

    Swift

    let title: String
  • Declaration

    Swift

    var body: some View { get }