@madeja-studio/telar
Version:
UI component library by Madeja Studio
18 lines • 618 B
TypeScript
import { type ControllerUpdate, type SpringConfig } from '@react-spring/native';
import type { Animation } from './animation';
interface Config {
hasEnterTransition?: boolean;
springConfig?: SpringConfig;
}
export declare const useAnimation: (animations: Animation<any>[], config?: Config) => {
animatedStyle: {
[x: string]: any;
};
animationStart: (props?: ControllerUpdate<any>) => void;
animationStop: (props?: ControllerUpdate<any>) => void;
api: import("@react-spring/core").SpringRef<{
[x: string]: any;
}>;
};
export {};
//# sourceMappingURL=useAnimation.d.ts.map