Revision control
Copy as Markdown
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
import Foundation
/// What the Report Preview screen renders. The Client supplies the copy, so the package stays
/// free of Redux and Strings.
public struct WebCompatReportPreviewViewModel: Equatable, Sendable {
public let title: String
public let closeAccessibilityLabel: String
public let closeA11yIdentifier: String
public let bullets: [String]
public let bulletsA11yIdentifier: String
public let technicalDataTitle: String
public let technicalDataA11yIdentifier: String
public init(
title: String,
closeAccessibilityLabel: String,
closeA11yIdentifier: String,
bullets: [String],
bulletsA11yIdentifier: String,
technicalDataTitle: String,
technicalDataA11yIdentifier: String
) {
self.title = title
self.closeAccessibilityLabel = closeAccessibilityLabel
self.closeA11yIdentifier = closeA11yIdentifier
self.bullets = bullets
self.bulletsA11yIdentifier = bulletsA11yIdentifier
self.technicalDataTitle = technicalDataTitle
self.technicalDataA11yIdentifier = technicalDataA11yIdentifier
}
}