29 lines
609 B
Swift
29 lines
609 B
Swift
//
|
|
// TableCellImageModel.swift
|
|
// VDS
|
|
//
|
|
// Created by Nadigadda, Sumanth on 06/05/24.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension Table {
|
|
|
|
public struct TableCellImageModel: TableCellModel, Surfaceable {
|
|
|
|
public var defaultHeight: CGFloat { return 50.0 }
|
|
|
|
public var name: Icon.Name
|
|
|
|
public var size: Icon.Size
|
|
|
|
public var surface: Surface
|
|
|
|
public init(name: Icon.Name, size: Icon.Size, surface: Surface = .light) {
|
|
self.name = name
|
|
self.size = size
|
|
self.surface = surface
|
|
}
|
|
}
|
|
}
|