Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 315 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 315 Bytes

Dismiss a View

private struct SheetContents: View {
    @Environment(\.dismiss) private var dismiss

    var body: some View {
        Button("Done") {
            dismiss()
        }
    }
}

Links that help