Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ScrollView(.horizontal, showsIndicators: false) {
}.frame(height: 70)
Now, let's add a few of our recently created PreviewViewTop instances inside it:
ScrollView(.horizontal, showsIndicators: false) {
HStack {
PreviewViewTop()
PreviewViewTop()
PreviewViewTop()
PreviewViewTop()
PreviewViewTop()
PreviewViewTop()
}
}.frame(height: 70)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.