Function: useTween() — Kata docs
Kata docs

kata-framework


Function: useTween()

function useTween(frame): void;

Defined in: packages/kata-react/src/useTween.ts:62

Hook that interprets tween/tween-group frames and pushes CSS styles into TweenContext for TweenTarget components to consume.

Parameters

frame

KSONFrame | null

Returns

void