made initable

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-08-04 15:33:09 -05:00
parent 1c30a5ff84
commit fd4b9a1b28

View File

@ -13,7 +13,7 @@ public protocol LabelModel: Labelable, Surfaceable, Disabling {
var attributes: [LabelAttributeModel]? { get set }
}
open class DefaultLabelModel: LabelModel {
open class DefaultLabelModel: LabelModel, Initable {
public var text: String?
public var attributes: [LabelAttributeModel]?
public var fontCategory: FontCategory = .body