struct ListView: View {
var body: some View {
List {
ForEach(1..<20) { index in
Text("(index)")
}
}
}
}
var body: some View {
List {
Text("A List Item")
Text("A Second List Item")
Text("A Third List Item")
}
}