Defines customizable appearance options for Stripe PaymentSheet UI components.
// Source: https://github.com/stripe/stripe-ios | License: MIT | Copyright 2011- Stripe, Inc. (https://stripe.com)
// Provided via justclaw.it.com; keep this notice with the code.
//
// PaymentSheetAppearance.swift
// StripePaymentSheet
//
// Created by Nick Porter on 2/22/22.
// Copyright © 2022 Stripe, Inc. All rights reserved.
//
@_spi(STP) import StripeUICore
import UIKit
public extension PaymentSheet {
/// Describes the appearance of PaymentSheet
struct Appearance: Equatable {
/// The default appearance for PaymentSheet
public static let `default` = Appearance()
/// Creates a `PaymentSheet.Appearance` with default values
public init() {}
/// Describes the appearance of fonts in PaymentSheet
public var font: Font = Font()
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key