Skip to content

Commit

Permalink
Updated docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
stechiu committed Feb 26, 2024
1 parent 21e4de6 commit 2ee84b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Sources/PaymentButtons/PayPalButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions Sources/PaymentButtons/PayPalCreditButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions Sources/PaymentButtons/PayPalPayLaterButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 2ee84b2

Please sign in to comment.