setRef
Useful if you want to expose the ref of an inner component to the public API while still using it inside the component.
- @param
ref- A ref callback or ref object. If anything falsy, this is a no-op.
setRefUseful if you want to expose the ref of an inner component to the public API while still using it inside the component.
ref - A ref callback or ref object. If anything falsy, this is a no-op.