Skip to content

Commit 64ea1d6

Browse files
saadhzahidmeta-codesync[bot]
authored andcommitted
Fixing mistake in docs
Summary: I noticed there was a mismatch between the diagrams and the code samples--Resolved. Differential Revision: D87924557 fbshipit-source-id: e49c7fc633891a6d340808eca1a375f95e83616f
1 parent 38ee8fb commit 64ea1d6

File tree

1 file changed

+2
-6
lines changed
  • Sources/QuickLayout/docs/docs/layout

1 file changed

+2
-6
lines changed

Sources/QuickLayout/docs/docs/layout/grid.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ Row alignment overrides the vertical alignment for every view in a row. This is
9999
```swift
100100
var body: Layout {
101101
Grid {
102-
GridRow {
102+
GridRow(alignment: .top) {
103103
view1
104104
view2
105105
view3
106106
}
107-
GridRow(alignment: .bottom) {
107+
GridRow {
108108
view4
109109
view5
110110
view6
@@ -133,10 +133,6 @@ var body: Layout {
133133
view3
134134
view4
135135
}
136-
GridRow {
137-
view5
138-
view6
139-
}
140136
}
141137
}
142138
```

0 commit comments

Comments
 (0)