Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ getItems
Function
getItems
packages/@react-spectrum/s2/test/DropZone.browser.test.tsx:27–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
function Draggable({type}: {type: string}) {
26
let {dragProps} = useDrag({
27
getItems() {
28
return [
29
{
30
[type]:
'hello world'
31
}
32
];
33
}
34
});
35
36
return (
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected