Swift UI sidebar in iPadOS 14

Hi, I am trying to test the new iPadOS 14 feature: sidebar. However I cannot find any good implementation example code. I want to make the navigation in sidebar, which will for example control the ShowDetail View, and from the ShowDetail View I can dig deeper in EditDetail View. When I try this code:

Code Block
struct iPadSidebarView: View {
    var body: some View {
        NavigationView {
            Sidebar()
            ShowDetail(whichRow: "some starting text")
            EditDetail()
        }
    }
}
struct Sidebar: View {
    var body: some View {
        NavigationView {
            List(1..<10) { i in
                NavigationLink (
                    destination: ShowDetail(whichRow: "Row \(i)"),
                    label: {
                      Text("Row \(i)")
                    })
            }
            .listStyle(SidebarListStyle())
        }
    }
}
struct ShowDetail: View {
    var whichRow: String
    var body: some View {
        Text (whichRow)
    }
}
struct EditDetail: View {
  var body: some View {
        Text ("only for start")
    }
}

the sidebar is living its own life, showing me ShowDetail View in itself, but ShowDetail View remains unchanged all the time with starting text.

Is there a code example of smoothly working sidebar navigation for iPadOS 14 somewhere?
Swift UI sidebar in iPadOS 14
 
 
Q