added method in protocol

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-05-11 15:25:11 -05:00
parent 15f7c1d586
commit 714374c798

View File

@ -8,7 +8,9 @@
import Foundation
import UIKit
public protocol TooltipLaunchable { }
public protocol TooltipLaunchable {
func presentTooltip(surface: Surface, title: String, content: String, closeButtonText: String)
}
extension TooltipLaunchable {
public func presentTooltip(surface: Surface, title: String, content: String, closeButtonText: String = "Close") {