UNPKG

react-native-micro-interactions

Version:

Effortlessly enhance your React Native components with subtle micro-interactions and animations.

35 lines 864 B
import type { AnimationOptions, AnimationType } from "../types/animations"; export declare const useAnimation: (type: AnimationType, options?: AnimationOptions) => { animatedStyle: { transform: ({ rotateZ: string; scale?: undefined; } | { scale: number; rotateZ?: undefined; })[]; }; runIndividualAnimation: () => void; } | { animatedStyle: { transform: { scale: number; }[]; }; runIndividualAnimation: () => void; } | { animatedStyle: { transform: { translateX: number; }[]; }; runIndividualAnimation: () => void; } | { animatedStyle: { transform: { translateY: number; }[]; }; runIndividualAnimation: () => void; }; //# sourceMappingURL=useAnimation.d.ts.map