Skip to content

API Reference / @gtkx/animated / GoalValue

Type Alias: GoalValue<T>

GoalValue<T> = T | FluidValue<T> | UnknownProps | null | undefined

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:818

A value that SpringValue objects can animate from/to.

The UnknownProps type lets you pass in { a: 1 } if the key property of SpringValue equals "a".

Type Parameters

T

T

Released under the MPL-2.0 License.