Skip to content

API Reference / @gtkx/animated / GoalProp

Type Alias: GoalProp<T>

GoalProp<T> = [T] extends [IsPlainObject<T>] ? GoalValues<T> | Falsy : GoalValue<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:809

A value or set of values that can be animated from/to.

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

Released under the MPL-2.0 License.