fix: ConfettiSwiftUI API — trigger not counter
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -60,7 +60,7 @@ struct MainTabView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.confettiCannon(
|
.confettiCannon(
|
||||||
counter: $confettiTrigger,
|
trigger: $confettiTrigger,
|
||||||
num: 80,
|
num: 80,
|
||||||
confettis: [.shape(.circle), .shape(.roundedCross), .shape(.slimRectangle)],
|
confettis: [.shape(.circle), .shape(.roundedCross), .shape(.slimRectangle)],
|
||||||
colors: [.red, .orange, .yellow, .green, .blue, .purple, .pink],
|
colors: [.red, .orange, .yellow, .green, .blue, .purple, .pink],
|
||||||
|
|||||||
Reference in New Issue
Block a user