made initable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
1c30a5ff84
commit
fd4b9a1b28
@ -13,7 +13,7 @@ public protocol LabelModel: Labelable, Surfaceable, Disabling {
|
|||||||
var attributes: [LabelAttributeModel]? { get set }
|
var attributes: [LabelAttributeModel]? { get set }
|
||||||
}
|
}
|
||||||
|
|
||||||
open class DefaultLabelModel: LabelModel {
|
open class DefaultLabelModel: LabelModel, Initable {
|
||||||
public var text: String?
|
public var text: String?
|
||||||
public var attributes: [LabelAttributeModel]?
|
public var attributes: [LabelAttributeModel]?
|
||||||
public var fontCategory: FontCategory = .body
|
public var fontCategory: FontCategory = .body
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user