Skip to content

Commit

Permalink
updates readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagons committed Sep 29, 2019
1 parent 1d8ba41 commit b48fd67
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,37 @@ struct ContentView: View {
}
}
~~~~

<img src="https://github.com/hexagons/UI3/blob/master/Images/ui3_stacks_wstack.png?raw=true" height="256"/>

~~~~swift
import SwiftUI
import UI3

struct ContentView: View {
var body: some View {
UI3 {
WStack {
Box()
.cornerRadius(0.05)
.padding(edges: .all, length: 0.1)
HStack {
ForEach(0..<3) { _ in
VStack {
ForEach(0..<3) { _ in
ZStack {
ForEach(0..<3) { _ in
Box()
.cornerRadius(0.05)
.padding(edges: .all, length: 0.05)
}
}
}
}
}
}
}
}
}
}
~~~~

0 comments on commit b48fd67

Please sign in to comment.