updated models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
21ac83af4f
commit
5e595e9ece
@ -10,8 +10,8 @@ import Foundation
|
|||||||
extension Tilelet {
|
extension Tilelet {
|
||||||
public struct BadgeModel {
|
public struct BadgeModel {
|
||||||
public var text: String = ""
|
public var text: String = ""
|
||||||
public var fillColor: Badge.FillColor = .red
|
public var fillColor: Badge.FillColor
|
||||||
public var surface: Surface = .light
|
public var surface: Surface
|
||||||
public var numberOfLines: Int
|
public var numberOfLines: Int
|
||||||
public var maxWidth: CGFloat?
|
public var maxWidth: CGFloat?
|
||||||
|
|
||||||
|
|||||||
@ -11,11 +11,11 @@ import UIKit
|
|||||||
extension Tilelet {
|
extension Tilelet {
|
||||||
|
|
||||||
public struct DescriptiveIcon {
|
public struct DescriptiveIcon {
|
||||||
public var name: Icon.Name = .multipleDocuments
|
public var name: Icon.Name
|
||||||
public var size: Icon.Size = .medium
|
public var size: Icon.Size
|
||||||
public var surface: Surface = .dark
|
public var surface: Surface
|
||||||
|
|
||||||
public init(name: Icon.Name = .multipleDocuments, size: Icon.Size, surface: Surface) {
|
public init(name: Icon.Name = .multipleDocuments, size: Icon.Size = .medium, surface: Surface = .dark) {
|
||||||
self.name = name
|
self.name = name
|
||||||
self.size = size
|
self.size = size
|
||||||
self.surface = surface
|
self.surface = surface
|
||||||
@ -23,10 +23,10 @@ extension Tilelet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public struct DirectionalIcon {
|
public struct DirectionalIcon {
|
||||||
public var size: Icon.Size = .medium
|
public var size: Icon.Size
|
||||||
public var surface: Surface = .dark
|
public var surface: Surface
|
||||||
|
|
||||||
public init(size: Icon.Size, surface: Surface) {
|
public init(size: Icon.Size = .medium, surface: Surface = .dark) {
|
||||||
self.size = size
|
self.size = size
|
||||||
self.surface = surface
|
self.surface = surface
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user