22 lines
510 B
Swift
22 lines
510 B
Swift
//
|
|
// TooltipModel.swift
|
|
// VDS
|
|
//
|
|
// Created by Matt Bruce on 7/25/23.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct TooltipModel {
|
|
public var surface: Surface
|
|
public var closeButtonText: String
|
|
public var title: String?
|
|
public var child: Any?
|
|
public init(surface: Surface = .light, closeButtonText: String = "Close", title: String?, child: Any? = nil) {
|
|
self.surface = surface
|
|
self.closeButtonText = closeButtonText
|
|
self.title = title
|
|
self.child = child
|
|
}
|
|
}
|