Skip to content

API Reference / @gtkx/animated / SpringUpdateFn

Type Alias: SpringUpdateFn<T> ​

SpringUpdateFn<T> = T extends IsPlainObject<T> ? UpdateValuesFn<T> : UpdateValueFn<T>

Update the props of an animation.

The T parameter can be a set of animated values (as an object type) or a primitive type for a single animated value.

Type Parameters ​

T ​

T = any