Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ event
Function
event
packages/react-aria/test/disclosure/useDisclosure.test.ts:70–70 ·
view source on GitHub ↗
(e: Partial<PressEvent>)
Source
from the content-addressed store, hash-verified
68
});
69
70
let
event = (e: Partial<PressEvent>) => e as PressEvent;
71
72
act(() => {
73
result.current.disclosure.buttonProps.onPressStart?.(
Callers
1
useDisclosure.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected