vds_ios/VDS/Components/TitleLockup/TitleLockupSubTitleModel.swift
Matt Bruce 98242fe055 TitleLockup converted to models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-06 14:54:49 -06:00

26 lines
642 B
Swift

//
// TitleLockupSubTitleModel.swift
// VDS
//
// Created by Matt Bruce on 1/6/23.
//
import Foundation
public struct TitleLockupSubTitleModel {
public var text: String
public var textColor: Use
public var textAttributes: [any LabelAttributeModel]?
public var numberOfLines: Int
public init(text: String,
textColor: Use = .primary,
textAttributes: [any LabelAttributeModel]? = nil,
numberOfLines: Int = 0) {
self.text = text
self.textColor = textColor
self.textAttributes = textAttributes
self.numberOfLines = numberOfLines
}
}