28 lines
659 B
Swift
28 lines
659 B
Swift
//
|
|
// TableCellLabelModel.swift
|
|
// VDS
|
|
//
|
|
// Created by Nadigadda, Sumanth on 02/05/24.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension Table {
|
|
public struct TableCellLabelModel: TableCellModel, Surfaceable {
|
|
|
|
public var defaultHeight: CGFloat { return 50.0 }
|
|
|
|
public var text: String
|
|
|
|
public var accessibilityString: String?
|
|
|
|
public var surface: Surface
|
|
|
|
public init(text: String, accessibilityString: String? = "", surface: Surface = .light) {
|
|
self.text = text
|
|
self.accessibilityString = accessibilityString
|
|
self.surface = surface
|
|
}
|
|
}
|
|
}
|