Skip to content

Commit

Permalink
Add documentation directive
Browse files Browse the repository at this point in the history
  • Loading branch information
supernintendo committed Apr 7, 2023
1 parent 7412b51 commit edf9270
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,19 @@ import SwiftUI
/// ## Arguments
/// * ``alignment``
/// * ``content``
#if swift(>=5.8)
@_documentation(visibility: public)
#endif
struct BackgroundModifier<R: RootRegistry>: ViewModifier, Decodable {
@ObservedElement private var element
@LiveContext<R> private var context
#if swift(>=5.8)
@_documentation(visibility: public)
#endif
let alignment: Alignment
#if swift(>=5.8)
@_documentation(visibility: public)
#endif
let content: String

init(from decoder: Decoder) throws {
Expand Down

0 comments on commit edf9270

Please sign in to comment.