This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct PLPGridView: View { | |
@ObservedObject var viewModel: PLPViewModel | |
@Environment(\.colorScheme) var colorScheme | |
@EnvironmentObject var providers: ProviderFactory | |
@State var selectedProduct: MerchProduct? | |
@Binding private var toastContent: GLToastInformationContents? | |
private let enclosingWidth: CGFloat | |
init(viewModel: PLPViewModel, enclosingWidth: CGFloat, toastContent: Binding<GLToastInformationContents?>) { | |
self.viewModel = viewModel | |
self.enclosingWidth = enclosingWidth |