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

Function current

packages/@adobe/react-spectrum/src/utils/useDOMRef.ts:68–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66): RefObject<T | null> {
67 return {
68 get current() {
69 return ref.current && ref.current.UNSAFE_getDOMNode();
70 }
71 };
72}
73

Callers

nothing calls this directly

Calls 1

UNSAFE_getDOMNodeMethod · 0.80

Tested by

no test coverage detected