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 {
|
||||
public struct BadgeModel {
|
||||
public var text: String = ""
|
||||
public var fillColor: Badge.FillColor = .red
|
||||
public var surface: Surface = .light
|
||||
public var fillColor: Badge.FillColor
|
||||
public var surface: Surface
|
||||
public var numberOfLines: Int
|
||||
public var maxWidth: CGFloat?
|
||||
|
||||
|
||||
@ -11,11 +11,11 @@ import UIKit
|
||||
extension Tilelet {
|
||||
|
||||
public struct DescriptiveIcon {
|
||||
public var name: Icon.Name = .multipleDocuments
|
||||
public var size: Icon.Size = .medium
|
||||
public var surface: Surface = .dark
|
||||
public var name: Icon.Name
|
||||
public var size: Icon.Size
|
||||
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.size = size
|
||||
self.surface = surface
|
||||
@ -23,10 +23,10 @@ extension Tilelet {
|
||||
}
|
||||
|
||||
public struct DirectionalIcon {
|
||||
public var size: Icon.Size = .medium
|
||||
public var surface: Surface = .dark
|
||||
public var size: Icon.Size
|
||||
public var surface: Surface
|
||||
|
||||
public init(size: Icon.Size, surface: Surface) {
|
||||
public init(size: Icon.Size = .medium, surface: Surface = .dark) {
|
||||
self.size = size
|
||||
self.surface = surface
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user