MCPcopy Create free account
hub / github.com/adobe/react-spectrum / current

Function current

packages/@react-spectrum/s2/src/useDOMRef.ts:62–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60): RefObject<T | null> {
61 return {
62 get current() {
63 return ref.current && ref.current.UNSAFE_getDOMNode();
64 }
65 };
66}
67

Callers

nothing calls this directly

Calls 1

UNSAFE_getDOMNodeMethod · 0.80

Tested by

no test coverage detected