Skip to content

API Reference / @gtkx/animated / InferTo

Type Alias: InferTo<T>

InferTo<T> = Merge<{ to: ForwardProps<T>; }, Pick<T, keyof T & keyof ReservedProps>>

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

Move all non-reserved props into the to prop.

Type Parameters

T

T extends object

Released under the MPL-2.0 License.