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

    title

    The title of the button.

    action

    The action to be performed when the button is tapped.