react-native-bouncy-checkbox
Version:
Fully customizable animated bouncy checkbox for React Native
8 lines (7 loc) • 377 B
TypeScript
import { Animated } from "react-native";
declare const useBounceAnimation: () => {
bounceValue: Animated.Value;
bounceAnimation: (value: number, velocity: number, bounciness: number) => void;
syntheticBounceAnimation: (bounceEffectIn: number, bounceEffectOut: number, bounceVelocityOut: number, bouncinessOut: number) => void;
};
export default useBounceAnimation;