( ref: RefObject<DOMRefValue<T> | null> )
| 66 | } |
| 67 | |
| 68 | export function useUnwrapDOMRef<T extends HTMLElement>( |
| 69 | ref: RefObject<DOMRefValue<T> | null> |
| 70 | ): RefObject<T | null> { |
| 71 | return useMemo(() => unwrapDOMRef(ref), [ref]); |
| 72 | } |
nothing calls this directly
no test coverage detected