Skip to content

Commit

Permalink
Run swift format
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezreal authored and github-actions[bot] committed Apr 8, 2023
1 parent 159f5a9 commit b12b137
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Sources/MarkdownUI/Utility/Deprecations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import SwiftUI
// MARK: - Deprecated after 2.0.2:

extension View {
@available(*, deprecated, message: "Use the version of this function that takes a closure receiving a generic 'Configuration' value.")
@available(
*, deprecated,
message:
"Use the version of this function that takes a closure receiving a generic 'Configuration' value."
)
public func markdownBlockStyle<Body: View>(
_ keyPath: WritableKeyPath<Theme, BlockStyle<CodeBlockConfiguration>>,
@ViewBuilder body: @escaping (_ label: BlockConfiguration.Label) -> Body
Expand All @@ -18,7 +22,11 @@ extension View {
}

extension Theme {
@available(*, deprecated, message: "Use the version of this function that takes a closure receiving a 'CodeBlockConfiguration' value.")
@available(
*, deprecated,
message:
"Use the version of this function that takes a closure receiving a 'CodeBlockConfiguration' value."
)
public func codeBlock<Body: View>(
@ViewBuilder body: @escaping (_ label: BlockConfiguration.Label) -> Body
) -> Theme {
Expand Down

0 comments on commit b12b137

Please sign in to comment.