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

Commit

Permalink
public grid preferences item init (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
ay42 authored Apr 5, 2020
1 parent c300abc commit a3441f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/Grid/Styles/Style/GridPreferences.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ public struct GridPreferences: Equatable {
public struct Item: Equatable {
public let id: AnyHashable
public let bounds: CGRect

public init(id: AnyHashable, bounds: CGRect) {
self.id = id
self.bounds = bounds
}
}

public var items: [Item]
Expand Down

0 comments on commit a3441f8

Please sign in to comment.