Skip to content

Commit

Permalink
Add custom component in home view
Browse files Browse the repository at this point in the history
  • Loading branch information
nauaros committed Sep 23, 2024
1 parent e1e3a52 commit 7101eb8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Demo/UIKit/ComponentsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ internal final class ComponentsViewController: UIViewController {
selectionHandler: presentInstantPaymentComponent
)
],
[ComponentsItem(title: "Apple Pay", selectionHandler: presentApplePayComponent)]
[ComponentsItem(title: "Apple Pay", selectionHandler: presentApplePayComponent)],
[
ComponentsItem(title: "Configurable Pay Button", selectionHandler: presentCustomComponentView)
]
]

if #available(iOS 13.0.0, *) {
Expand Down

0 comments on commit 7101eb8

Please sign in to comment.