Skip to content
This repository was archived by the owner on Dec 27, 2020. It is now read-only.

Commit a22e24c

Browse files
authored
Update README.md
1 parent 72ef4a4 commit a22e24c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@ SwiftUI Grid view layout with auto-sizing items and flexible column count.
1010

1111
## Examples
1212

13-
### Simple grid
1413
```swift
14+
/// Simple grid
15+
1516
Grid(0...100) {
1617
Text("\($0)")
1718
}
1819
```
1920

20-
### Grid with minimum item width and fixed item height.
2121
```swift
22+
/// Grid with minimum item width and fixed item height.
23+
2224
Grid(self.planets, minimumItemWidth: 320, spacing: 16) {
2325
PlanetView(planet: $0)
2426
.frame(height: 400)

0 commit comments

Comments
 (0)