// // TitleLockupEyebrowModel.swift // VDS // // Created by Matt Bruce on 1/6/23. // import Foundation extension TitleLockup { public struct EyebrowModel { public var text: String public var isBold: Bool public var textAttributes: [any LabelAttributeModel]? public var standardStyle: OtherStandardStyle public var numberOfLines: Int public init(text: String, isBold: Bool = true, standardStyle: OtherStandardStyle = .bodyLarge, textAttributes: [any LabelAttributeModel]? = nil, numberOfLines: Int = 0) { self.text = text self.isBold = isBold self.standardStyle = standardStyle self.textAttributes = textAttributes self.numberOfLines = numberOfLines } public var textStyle: TextStyle { isBold ? standardStyle.value.bold : standardStyle.value.regular } } }