File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import SwiftUI
55/// ### iOS
66///
77/// ```swift
8- /// public struct ContentView: View {
8+ /// struct ContentView: View {
99/// @State var isPresented = false
1010///
11- /// public var body: some View {
11+ /// var body: some View {
1212/// Button("Present", action: { isPresented = true })
1313/// .fullScreenCover(isPresented: $isPresented) {
1414/// Button("Dismiss", action: { isPresented = false })
@@ -23,10 +23,10 @@ import SwiftUI
2323/// ### tvOS
2424///
2525/// ```swift
26- /// public struct ContentView: View {
26+ /// struct ContentView: View {
2727/// @State var isPresented = false
2828///
29- /// public var body: some View {
29+ /// var body: some View {
3030/// Button("Present", action: { isPresented = true })
3131/// .fullScreenCover(isPresented: $isPresented) {
3232/// Button("Dismiss", action: { isPresented = false })
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import SwiftUI
55/// ### iOS
66///
77/// ```swift
8- /// public struct ContentView: View {
8+ /// struct ContentView: View {
99/// @State var isPresented = false
1010///
11- /// public var body: some View {
11+ /// var body: some View {
1212/// Button("Present", action: { isPresented = true })
1313/// .popover(isPresented: $isPresented) {
1414/// Button("Dismiss", action: { isPresented = false })
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import SwiftUI
55/// ### iOS
66///
77/// ```swift
8- /// public struct ContentView: View {
8+ /// struct ContentView: View {
99/// @State var isPresented = false
1010///
11- /// public var body: some View {
11+ /// var body: some View {
1212/// Button("Present", action: { isPresented = true })
1313/// .sheet(isPresented: $isPresented) {
1414/// Button("Dismiss", action: { isPresented = false })
@@ -23,10 +23,10 @@ import SwiftUI
2323/// ### tvOS
2424///
2525/// ```swift
26- /// public struct ContentView: View {
26+ /// struct ContentView: View {
2727/// @State var isPresented = false
2828///
29- /// public var body: some View {
29+ /// var body: some View {
3030/// Button("Present", action: { isPresented = true })
3131/// .sheet(isPresented: $isPresented) {
3232/// Button("Dismiss", action: { isPresented = false })
You can’t perform that action at this time.
0 commit comments