Skip to content

API Reference / @gtkx/animated / Animated

Type Alias: Animated

Animated = <T>(component) => AnimatedComponent<T>

Defined in: packages/animated/dist/animated.d.ts:4

Callable entrypoint that wraps a component with animated props.

Type Parameters

T

T extends Exclude<ElementType, string>

Parameters

component

T

Returns

AnimatedComponent<T>

Released under the MPL-2.0 License.