rn-inkpad
Version:
<img src="https://res.cloudinary.com/fercloudinary/image/upload/v1715452841/packages/inkpad-banner_acl0xl.png" />
23 lines (22 loc) • 789 B
TypeScript
import { Animated } from 'react-native';
type Props = {
width?: number;
};
export declare const useAnimation: (props?: Props) => {
fadeIn: (duration?: number) => void;
fadeOut: (duration?: number) => void;
moveDown: (toValue?: number) => void;
moveLeft: (toValue?: number) => void;
moveRight: (toValue?: number) => void;
moveUp: () => void;
opacity: Animated.Value;
pan: Animated.ValueXY;
panResponder: import("react-native").PanResponderInstance;
position: Animated.Value;
scale: (from?: number, toValue?: number) => void;
scaleValue: Animated.Value;
translatePosition: (initPosition: number, duration?: number) => void;
translateX: Animated.AnimatedInterpolation<string | number>;
translateY: Animated.Value;
};
export {};