Closed osmanyz closed 12 months ago
This is the solution which i found it.
export const DragList: WithForwardRefType = React.forwardRef(DragListImpl);
I've changed as this.
export const DragList: WithForwardRefType = React.forwardRef((props, ref) => (
<DragListImpl ref={ref} {...props}>
{props.children}
</DragListImpl>
));
And then the error is gone.
Hello,
I have to use some good package for the project. I found out that your library is pretty good, it helped me a lot.
But I'm getting an error after started using it.
Current Behavior
It throws an error about forwardRef.
This is the exact code. As you see it has no change at all.
Expected Behavior
It shouldn't throw an error regarding the forwardRef functionality.
Platform (Web, iOS, Android)
System Info