vds_ios/VDS/Components/Tilelet/TileletIconModels.swift
Matt Bruce ce9e64da0f updated comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-04 10:22:31 -05:00

36 lines
901 B
Swift

//
// TiletDescriptiveIconModel.swift
// VDS
//
// Created by Matt Bruce on 1/11/23.
//
import Foundation
import UIKit
extension Tilelet {
public struct DescriptiveIcon {
public var name: Icon.Name
public var size: Icon.Size
/// Current Surface and this is used to pass down to child objects that implement Surfacable
public var surface: Surface
public init(name: Icon.Name = .multipleDocuments, size: Icon.Size = .medium, surface: Surface = .dark) {
self.name = name
self.size = size
self.surface = surface
}
}
public struct DirectionalIcon {
public var size: Icon.Size
public var surface: Surface
public init(size: Icon.Size = .medium, surface: Surface = .dark) {
self.size = size
self.surface = surface
}
}
}