-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Is it possible to have an API for interpolation like this with Motion?
@State var x = 0
@State var xOffset = AnimationWrapper(SpringAnimation<CGPoint>(value: x, input: [0, 1], output: [0, 300]))
// ...
Circle()
.offset(x: yOffset)
Button(action: { x = 1 }) {
Text("Tap me")
}
// ...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels