26 lines
744 B
Swift
26 lines
744 B
Swift
//
|
|
// TitleLockupTitleModel.swift
|
|
// VDS
|
|
//
|
|
// Created by Matt Bruce on 1/6/23.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct TitleLockupTitleModel {
|
|
public var text: String
|
|
public var textAttributes: [any LabelAttributeModel]?
|
|
public var typographicalStyle: TitleLockupTitleTypographicalStyle
|
|
public var numberOfLines: Int
|
|
|
|
public init(text: String,
|
|
textAttributes: [any LabelAttributeModel]? = nil,
|
|
typographicalStyle: TitleLockupTitleTypographicalStyle = .BoldFeatureXSmall,
|
|
numberOfLines: Int = 0) {
|
|
self.text = text
|
|
self.textAttributes = textAttributes
|
|
self.typographicalStyle = typographicalStyle
|
|
self.numberOfLines = numberOfLines
|
|
}
|
|
}
|