INNER CODE UNIT · TypeScript

isShaking

enzomanuelmangano/animate-with-reanimated · src/animations/20-shake-animation/hooks/use-animated-shake.ts:38

  const isShaking = useDerivedValue(() => {
    return shakeTranslateX.value !== 0;
  }, []);

  return { shake, rStyle, isShaking };
};

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…