Skip to content

API Reference / @gtkx/animated / AnimatedComponent

Type Alias: AnimatedComponent<T>

AnimatedComponent<T> = FunctionComponent<AnimatedProps<ComponentPropsWithRef<T>>>

Defined in: packages/animated/dist/types.d.ts:25

A component returned by animated: the wrapped component with animated props.

Type Parameters

T

T extends Exclude<ElementType, string>

Released under the MPL-2.0 License.