Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. struct PreviewDetailView: View {
  2.  
  3. let preview: Preview
  4.  
  5. var body: some View {
  6. VStack(alignment: .leading){
  7. HStack{
  8. Image("logo-social")
  9. .resizable()
  10. .frame(width: 60, height: 60)
  11. .clipShape(Circle())
  12. .shadow(radius: 3)
  13. .overlay(Circle().stroke(Color.pink, lineWidth: 1))
  14. .padding(.leading, 5)
  15.  
  16. VStack(alignment: .leading){
  17. Text("Text upperside").font(.headline).foregroundColor(lightBlueColor)
  18. Text("Text downside").foregroundColor(Color(.lightGray)).font(.subheadline)
  19. }
  20.  
  21. Spacer()
  22.  
  23. Button(action: {}){
  24. Image("threeDots")
  25. .resizable()
  26. .frame(width: 20, height: 20)
  27. }
  28. .padding(.trailing, 5)
  29. }
  30. }
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement