I'm trying to figure out how to tell react which element is being used as ref i.e. in my case
const circleRef = useRef<AnimatedCircle>(undefined);
AnimatedCircle
is an SVG component from a third party library, and defining it this way causes error
Is there some universal way to define which element is ref?