vds_ios/VDS/Components/Label/LabelModel.swift
Matt Bruce df82f85724 added Modelable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 11:54:20 -05:00

27 lines
674 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 fontCategory: FontCategory = .body
public var fontSize: FontSize = .small
public var fontWeight: FontWeight = .regular
public var textPosition: TextPosition = .left
public var surface: Surface = .light
public var disabled: Bool = false
public init(){}
}