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,
};
});```