vds_ios/VDS/Components/Label/LabelModel.swift
Matt Bruce b4b1de52a2 refactored Typography
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 12:05:28 -05:00

25 lines
598 B
Swift

//
// VDSLabelModel.swift
// VDS
//
// Created by Matt Bruce on 7/28/22.
//
import Foundation
import UIKit
public protocol LabelModel: Modelable, Labelable {
var text: String? { get set }
var attributes: [LabelAttributeModel]? { get set }
}
public struct DefaultLabelModel: LabelModel {
public var text: String?
public var attributes: [LabelAttributeModel]?
public var typograpicalStyle: TypographicalStyle = .BodySmall
public var textPosition: TextPosition = .left
public var surface: Surface = .light
public var disabled: Bool = false
public init(){}
}