35 lines
837 B
Swift
35 lines
837 B
Swift
//
|
|
// TiletDescriptiveIconModel.swift
|
|
// VDS
|
|
//
|
|
// Created by Matt Bruce on 1/11/23.
|
|
//
|
|
|
|
import Foundation
|
|
import UIKit
|
|
|
|
extension Tilet {
|
|
|
|
public struct DescriptiveIcon: Codable {
|
|
public var name: Icon.Name = .multipleDocuments
|
|
public var size: Icon.Size = .medium
|
|
public var surface: Surface = .dark
|
|
|
|
public init(name: Icon.Name = .multipleDocuments, size: Icon.Size, surface: Surface) {
|
|
self.name = name
|
|
self.size = size
|
|
self.surface = surface
|
|
}
|
|
}
|
|
|
|
public struct DirectionalIcon: Codable {
|
|
public var size: Icon.Size = .medium
|
|
public var surface: Surface = .dark
|
|
|
|
public init(size: Icon.Size, surface: Surface) {
|
|
self.size = size
|
|
self.surface = surface
|
|
}
|
|
}
|
|
}
|