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

Release 1.0.0

Compare
Choose a tag to compare
@ay42 ay42 released this 14 Mar 21:44
· 9 commits to master since this release
978cc2e

This release contains breaking changes.

  1. ScrollView has been removed from Grid
  2. 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.