added defaults
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
ec9f853b3d
commit
0f8a564bc5
@ -20,8 +20,8 @@ public struct TiletSubTitleModel: Codable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public var text: String = ""
|
public var text: String = ""
|
||||||
public var typographicalStyle: SubTitleTypographicalStyle
|
public var typographicalStyle: SubTitleTypographicalStyle = .BodySmall
|
||||||
public var textColor: Use
|
public var textColor: Use = .primary
|
||||||
|
|
||||||
public init(text: String,
|
public init(text: String,
|
||||||
textColor: Use = .primary,
|
textColor: Use = .primary,
|
||||||
|
|||||||
@ -22,7 +22,7 @@ public struct TiletTitleModel: Codable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public var text: String = ""
|
public var text: String = ""
|
||||||
public var typographicalStyle: TitleTypographicalStyle
|
public var typographicalStyle: TitleTypographicalStyle = .BoldTitleSmall
|
||||||
|
|
||||||
public init(text: String,
|
public init(text: String,
|
||||||
typographicalStyle: TitleTypographicalStyle = .BoldTitleSmall) {
|
typographicalStyle: TitleTypographicalStyle = .BoldTitleSmall) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user