react-native-micro-interactions
Version:
Effortlessly enhance your React Native components with subtle micro-interactions and animations.
15 lines • 616 B
TypeScript
import type { AnimationOptions, AnimationTrigger, AnimationType } from "../types/animations";
import React from "react";
export interface AnimatedWrapperProps {
children: React.ReactElement<any>;
animationType: AnimationType;
animationTrigger?: AnimationTrigger;
animationOptions?: AnimationOptions;
isGroup?: boolean;
}
export interface AnimatedWrapperRef {
runAnimation: () => void;
}
declare const AnimatedWrapper: React.ForwardRefExoticComponent<AnimatedWrapperProps & React.RefAttributes<AnimatedWrapperRef>>;
export default AnimatedWrapper;
//# sourceMappingURL=AnimatedWrapper.d.ts.map