UNPKG

infinity-forge

Version:
24 lines (23 loc) 645 B
import { types } from './type-animation.js'; interface Offset { x?: number; y?: number; } interface IElementAnimationProps { type?: keyof typeof types; children: React.ReactNode; element?: any; duration?: number; delay?: number; easing?: string; offset?: Offset; customAnimate?: Partial<{ opacity: number; x: number; y: number; [key: string]: any; }>; once?: boolean; } export declare function Animation({ children, type, element, duration, delay, easing, offset, customAnimate, once, }: IElementAnimationProps): import("react/jsx-runtime").JSX.Element; export {};