BPKDialogButton
public struct BPKDialogButton
A button to be used in a dialog.
-
Creates a new instance of
BPKDialogButton. The button styling will be managed by the dialog.Declaration
Swift
public init(_ title: String, action: @escaping () -> Void)Parameters
titleThe title of the button.
actionThe action to be performed when the button is tapped.