Skip to content

Commit f34a268

Browse files
committed
Add view builder annotation
1 parent 0038ddf commit f34a268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftUI/ShimmerScope.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public struct ShimmerScope<Content: View>: View {
1010
public init(
1111
style: ShimmerViewStyle = .default,
1212
isAnimating: Binding<Bool>,
13-
content: @escaping () -> Content
13+
@ViewBuilder content: @escaping () -> Content
1414
) {
1515
self.style = style
1616
_isAnimating = isAnimating

0 commit comments

Comments
 (0)