UNPKG

kinetic-components

Version:

Use CSS animations or your favorite JS animation library to animate a single React component or orchestrate animations amongst a collection of React components.

9 lines (8 loc) 341 B
export default class AnimationControl { _cancel: undefined | (() => any); _onFinishPromise: undefined | Promise<any>; _onFinishAction: undefined | (() => any); cancel: () => void; createOnFinishPromise: (animationFinishPromise: Promise<any>) => Promise<any>; setOnFinishAction: (action: () => any) => void; }