This repository was archived by the owner on Dec 27, 2020. It is now read-only.
Release 1.0.0
This release contains breaking changes.
- ScrollView has been removed from Grid
- Padding has been removed from styles
This API is now stable with 1.0.0
\\\ Scrollable grid
ScrollView {
Grid {
...
}
.padding(16)
}
.gridStyle(
ModularGridStyle(.vertical, columns: .min(100), rows: .fixed(100))
)
\\\ Static grid
Grid {
...
}
.gridStyle(
ModularGridStyle(columns: 3, rows: 2)
)
This allows us to embed grid anywhere since scrollview is now optional.
Also it is possible now to have sections, list of grids and even grid of grids.