@infinityfx/lively
Version:
Feature complete, lightweight react animation library.
20 lines (19 loc) • 642 B
TypeScript
import { AnimatableProps } from "./animatable";
import Clip, { ClipProperties } from "./core/clip";
type AnimateProps = {
animations?: (ClipProperties | Clip)[];
/**
* The number of levels to cascade down animations.
*/
levels?: number;
} & Omit<AnimatableProps, 'animations' | 'animate' | 'order'>;
/**
* Automated cascade animations.
*
* @see {@link https://lively.infinityfx.dev/docs/components/animate}
*/
declare function Animate({ children, animations, levels, ...props }: AnimateProps): import("react/jsx-runtime").JSX.Element;
declare namespace Animate {
var isLively: boolean;
}
export default Animate;