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

Function registerSpectrumLink

packages/dev/s2-docs/src/prefetch.ts:85–87  ·  view source on GitHub ↗
(value: DOMRefValue<HTMLAnchorElement> | null)

Source from the content-addressed store, hash-verified

83}
84
85export function registerSpectrumLink(value: DOMRefValue<HTMLAnchorElement> | null) {
86 return registerLink(value?.UNSAFE_getDOMNode() || null);
87}

Callers 1

ComponentCardClientFunction · 0.90

Calls 2

registerLinkFunction · 0.85
UNSAFE_getDOMNodeMethod · 0.80

Tested by

no test coverage detected