Add note about default animation for Vanish

This commit is contained in:
Kasper Lahti 2022-09-13 12:19:22 +02:00
parent d4119a4b75
commit f4f63fc502

View file

@ -385,6 +385,9 @@ A transition that dissolves the view into many small particles.
The transition is only performed on removal.
> **Note:**
> This transition will use an ease-out animation with a duration of 900ms by default.
```swift
static var vanish: AnyTransition
```
@ -393,6 +396,9 @@ A transition that dissolves the view into many small particles.
The transition is only performed on removal.
> **Note:**
> This transition will use an ease-out animation with a duration of 900ms by default.
- Parameter `style`: The style to use for the particles.
```swift