Closed 4lejandrito closed 5 years ago
If ref is a function React will call it with the actual DOM element and not with a RefObject.
See https://reactjs.org/docs/refs-and-the-dom.html#callback-refs
If ref is a function React will call it with the actual DOM element and not with a RefObject.
See https://reactjs.org/docs/refs-and-the-dom.html#callback-refs