Skip to content

API Reference / @gtkx/animated / GoalValue

Type Alias: GoalValue<T> ​

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

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