Skip to content

API Reference / @gtkx/animated / Spring

Function: Spring() ​

Call Signature ​

Spring<State>(props): Element | null

Type Parameters ​

State ​

State extends object

Parameters ​

props ​

object & Omit<SpringComponentProps<NoInfer<State>>, "from" | "to">

Returns ​

Element | null

Call Signature ​

Spring<State>(props): Element | null

Type Parameters ​

State ​

State extends object

Parameters ​

props ​

object & Omit<SpringComponentProps<NoInfer<State>>, "to">

Returns ​

Element | null