vds_ios/VDS/Components/Label/LabelModel.swift
Matt Bruce ffe3641500 refactored out VDS from naming conventions
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 13:56:14 -05:00

25 lines
600 B
Swift

//
// VDSLabelModel.swift
// VDS
//
// Created by Matt Bruce on 7/28/22.
//
import Foundation
import UIKit
public protocol LabelModel: Labelable, Surfaceable, Disabling {
var text: String? { get set }
}
open class DefaultLabelModel: LabelModel {
public var text: String?
public var fontCategory: VDSFontCategory = .body
public var fontSize: VDSFontSize = .small
public var fontWeight: VDSFontWeight = .regular
public var textPosition: VDSTextPosition = .left
public var surface: Surface = .light
public var disabled: Bool = false
required public init(){}
}