Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/adobe/react-spectrum
/ Example
Function
Example
packages/react-aria/test/interactions/useMove.test.js:25–28 ·
view source on GitHub ↗
(props)
Source
from the content-addressed store, hash-verified
23
const
EXAMPLE_ELEMENT_TESTID =
'example'
;
24
25
function
Example(props) {
26
let
{moveProps} = useMove(props);
27
return
(
28
<div tabIndex={-1} {...moveProps} data-testid={EXAMPLE_ELEMENT_TESTID}>
29
{props.children}
30
</div>
31
);
Callers
nothing calls this directly
Calls
1
useMove
Function · 0.90
Tested by
no test coverage detected