27 lines
579 B
Swift
27 lines
579 B
Swift
//
|
|
// TableItemModel.swift
|
|
// VDS
|
|
//
|
|
// Created by Nadigadda, Sumanth on 02/05/24.
|
|
//
|
|
|
|
import Foundation
|
|
import UIKit
|
|
import VDSCoreTokens
|
|
|
|
/// Model that represent the content of each cell of Table component
|
|
public struct TableItemModel {
|
|
|
|
public let defaultHeight: CGFloat = 50.0
|
|
|
|
public var bottomLine: Line.Style?
|
|
|
|
/// Component to be show in the Table cell
|
|
public var component: UIView?
|
|
|
|
public init(bottomLine: Line.Style? = nil, component: UIView? = nil) {
|
|
self.bottomLine = bottomLine
|
|
self.component = component
|
|
}
|
|
}
|