1

Can someone help how to do it in React Native with reanimated and redash?

I was trying to do it this way, but the app crashes everytime.

  const AnimatedCircle = Animated.createAnimatedComponent(Circle);
  const circleAnimation = useAnimatedProps(() => {
    const path = parsePath(d);
    const { cx, cy } = getPointAtLength(path, length * progress.value);
    return {
      cx,
      cy,
    };
  });```
Dima Os
  • 51
  • 1
  • 6

0 Answers0