title: How to make struct LazyList in SwiftUI?
body: <p>I use ScrollView+LazyVStack+ForEach instead of standart List.</p>
  <p><strong>How to make wrapper around this?</strong></p>
  <pre><code>struct ContentView: View {
      
      @State private var items = [&quot;1&quot;, &quot;2&quot;, &quot;3&quot;]
      var body: some View {
         LazyList(data: items) { item in
           
         }
      }
  }
  </code></pre>
  <p>I tried this code:</p>
  <pre><code>import SwiftUI
  
  public struct LazyList&lt;Data, ID, Content&gt; where Data : RandomAccessCollection, ID : Hashable {
  
      public var data: Data
      public var content: (Data.Element) -&gt; Content
      
      var body: some View {
          ScrollView {
              LazyVStack(spacing: 0) {
                  ForEach(data, content: content)
              }
          }
      }
  </code></pre>
  <p>Error:</p>
  <pre><code>Type of expression is ambiguous without more context
  </code></pre>