27 lines
713 B
Swift
27 lines
713 B
Swift
//
|
|
// NotificationSubTitleModel.swift
|
|
// VDS
|
|
//
|
|
// Created by Nadigadda, Sumanth on 24/03/23.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension Notification {
|
|
public struct SubTitleModel {
|
|
public var text: String
|
|
public var textAttributes: [any LabelAttributeModel]?
|
|
public var textStyle: TextStyle = .bodySmall
|
|
public var numberOfLines: Int
|
|
|
|
public init(text: String,
|
|
textColor: Use = .primary,
|
|
textAttributes: [any LabelAttributeModel]? = nil,
|
|
numberOfLines: Int = 0) {
|
|
self.text = text
|
|
self.textAttributes = textAttributes
|
|
self.numberOfLines = numberOfLines
|
|
}
|
|
}
|
|
}
|