MCPcopy
hub / github.com/pmndrs/react-spring / to

Function to

packages/core/src/FrameValue.ts:51–53  ·  view source on GitHub ↗

Create a spring that maps our value to another value

(...args: InterpolatorArgs<T, Out>)

Source from the content-addressed store, hash-verified

49
50 /** Create a spring that maps our value to another value */
51 to<Out>(...args: InterpolatorArgs<T, Out>) {
52 return G.to(this, args) as Interpolation<T, Out>
53 }
54
55 /** @deprecated Use the `to` method instead. */
56 interpolate<Out>(...args: InterpolatorArgs<T, Out>) {

Callers 1

runAsyncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected