From 2ee84b25187ede43795ec7ae1aa56b42b0a215bd Mon Sep 17 00:00:00 2001 From: stechiu Date: Mon, 26 Feb 2024 09:44:30 -0800 Subject: [PATCH] Updated docstrings --- Sources/PaymentButtons/PayPalButton.swift | 2 +- Sources/PaymentButtons/PayPalCreditButton.swift | 4 ++-- Sources/PaymentButtons/PayPalPayLaterButton.swift | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Sources/PaymentButtons/PayPalButton.swift b/Sources/PaymentButtons/PayPalButton.swift index a0359f59f..cfa9361d0 100644 --- a/Sources/PaymentButtons/PayPalButton.swift +++ b/Sources/PaymentButtons/PayPalButton.swift @@ -75,7 +75,7 @@ public extension PayPalButton { /// Initialize a PayPalButton /// - Parameters: /// - insets: Edge insets of the button, defining the spacing of the button's edges relative to its content. - /// - color: Color of the button. Default to gold if not provided. + /// - color: Color of the button. Default to `.gold` if not provided. /// - shape: Shape of the button. Default to `.rounded` if not provided. /// - size: Size of the button. Default to `.standard` if not provided. /// - label: Label displayed next to the button's logo. Default to no label. diff --git a/Sources/PaymentButtons/PayPalCreditButton.swift b/Sources/PaymentButtons/PayPalCreditButton.swift index bebc63c72..1c88a4812 100644 --- a/Sources/PaymentButtons/PayPalCreditButton.swift +++ b/Sources/PaymentButtons/PayPalCreditButton.swift @@ -20,9 +20,9 @@ public final class PayPalCreditButton: PaymentButton { /// Initialize a PayPalCreditButton /// - Parameters: /// - insets: Edge insets of the button, defining the spacing of the button's edges relative to its content. - /// - color: Color of the button. Default to gold if not provided. + /// - color: Color of the button. Default to `.darkBlue` if not provided. /// - shape: Shape of the button. Default to `.rounded` if not provided. - /// - size: Size of the button. Default to standard if not provided. + /// - size: Size of the button. Default to `.standard` if not provided. public convenience init( insets: NSDirectionalEdgeInsets? = nil, color: Color = .darkBlue, diff --git a/Sources/PaymentButtons/PayPalPayLaterButton.swift b/Sources/PaymentButtons/PayPalPayLaterButton.swift index 2848fa779..baed1fd54 100644 --- a/Sources/PaymentButtons/PayPalPayLaterButton.swift +++ b/Sources/PaymentButtons/PayPalPayLaterButton.swift @@ -20,9 +20,9 @@ public final class PayPalPayLaterButton: PaymentButton { /// Initialize a PayPalPayLaterButton /// - Parameters: /// - insets: Edge insets of the button, defining the spacing of the button's edges relative to its content. - /// - color: Color of the button. Default to gold if not provided. + /// - color: Color of the button. Default to `.gold` if not provided. /// - shape: Shape of the button. Default to `.rounded` if not provided. - /// - size: Size of the button. Default to standard if not provided. + /// - size: Size of the button. Default to `.standard` if not provided. public convenience init( insets: NSDirectionalEdgeInsets? = nil, color: Color = .gold, @@ -52,7 +52,7 @@ public extension PayPalPayLaterButton { /// Initialize a PayPalPayLaterButton /// - Parameters: /// - insets: Edge insets of the button, defining the spacing of the button's edges relative to its content. - /// - color: Color of the button. Default to gold if not provided. + /// - color: Color of the button. Default to `.gold` if not provided. /// - shape: Shape of the button. Default to `.rounded` if not provided. /// - size: Size of the button. Default to `.standard` if not provided. public init(