configureTip(_:arrowEdge:actionHandler:)
Configures the cell to display an embedded tip view.
Declaration
@discardableResult @MainActor @preconcurrency final func configureTip(_ tip: any Tip, arrowEdge: Edge? = nil, actionHandler: @escaping @MainActor @Sendable (Tips.Action) -> Void = { _ in }) -> SelfParameters
- tip:
The tip to display.
- arrowEdge:
The edge of the tip view that displays the arrow.
- actionHandler:
The closure to perform when the user triggers a tip’s action.
Return Value
A collection cell view that embeds the specified tip.