Sfoglia il codice sorgente

Update doc comment indentation

Matthew Mathias 3 anni fa
parent
commit
6b3e3cc8b4
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      GoogleSignInSwift/Sources/GoogleSignInButton.swift

+ 5 - 5
GoogleSignInSwift/Sources/GoogleSignInButton.swift

@@ -29,8 +29,8 @@ public struct GoogleSignInButton: View {
 
   /// Creates an instance of the Google Sign-In button for use in SwiftUI
   /// - parameter viewModel: An instance of `GoogleSignInButtonViewModel`
-  /// containing information on the button's scheme, style, and state. Defaults to
-  /// `GoogleSignInButtonViewModel` with its standard defaults.
+  ///     containing information on the button's scheme, style, and state.
+  ///     Defaults to `GoogleSignInButtonViewModel` with its standard defaults.
   /// - parameter action: A closure to use as the button's action upon press.
   /// - seealso: Refer to `GoogleSignInButtonViewModel.swift` for its defaults.
   public init(
@@ -45,11 +45,11 @@ public struct GoogleSignInButton: View {
   /// A convenience initializer to create a Google Sign-In button in SwiftUI
   /// with scheme, style, and state.
   /// - parameter scheme: The `GoogleSignInButtonColorScheme` to use. Defaults
-  /// to `.light`.
+  ///     to `.light`.
   /// - parameter style: The `GoogleSignInButtonStyle` to use. Defaults to
-  /// `.standard`.
+  ///     `.standard`.
   /// - parameter state: The `GoogleSignInButtonState` to use. Defaults to
-  /// `.normal`.
+  ///     `.normal`.
   /// - parameter action: A closure to use as the button's action upon press.
   public init(
     scheme: GoogleSignInButtonColorScheme = .light,