Skip to content

Commit f84fec1

Browse files
committed
WIP [skip ci]
1 parent caf1bd0 commit f84fec1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Examples/Showcase/Showcase/AppView.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ struct AppView: View {
2020
}
2121

2222
struct ContentView: View {
23+
@State var selection = 0
24+
2325
var body: some View {
24-
TabView {
26+
TabView(selection: $selection) {
2527
ListShowcase()
2628
.tabItem { Label("List", systemImage: "1.circle") }
2729
ScrollViewShowcase()

0 commit comments

Comments
 (0)