vds_ios/VDS/Components/Tilet/TiletIconModels.swift
Matt Bruce ec9f853b3d made structs codable and remove textAttributes (for now on Tilet)
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-12 13:38:36 -06:00

32 lines
734 B
Swift

//
// TiletDescriptiveIconModel.swift
// VDS
//
// Created by Matt Bruce on 1/11/23.
//
import Foundation
import UIKit
public struct TiletDescriptiveIcon: Codable {
public var name: IconName = .multipleDocuments
public var size: IconSize = .medium
public var surface: Surface = .light
public init(name: IconName = .multipleDocuments, size: IconSize, surface: Surface) {
self.name = name
self.size = size
self.surface = surface
}
}
public struct TiletDirectionalIcon: Codable {
public var size: IconSize = .medium
public var surface: Surface = .light
public init(size: IconSize, surface: Surface) {
self.size = size
self.surface = surface
}
}