Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement