Created
September 26, 2019 12:32
-
-
Save alexvenom/440adac96cc94c6608fc5aaf935403d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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