Skip to content

API Reference / @gtkx/animated / SpringUpdateFn

Type Alias: SpringUpdateFn<T>

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

Defined in: node_modules/.pnpm/@react-spring+core@10.1.2_react@19.2.8/node_modules/@react-spring/core/dist/react-spring_core.modern.d.mts:601

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

Released under the MPL-2.0 License.