Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jasudev authored Mar 27, 2022
1 parent ac31dc7 commit 9de0fd2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ AxisSegmentedView(selection: $selection, constant: .init()) {
```swift
var listView: some View {
List(0...100, id: \.self) { index in
Text("Index \(index)")
Button {
print("click")
} label: {
Text("Index \(index)")
}
}.listStyle(.plain)
}

Expand Down

0 comments on commit 9de0fd2

Please sign in to comment.