MCPcopy
hub / github.com/callstack/react-native-testing-library / buildFocusEvent

Function buildFocusEvent

src/event-builder/common.ts:47–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 * - Android: `{"target": 53}`
46 */
47export function buildFocusEvent() {
48 return {
49 ...baseSyntheticEvent(),
50 nativeEvent: {
51 target: 0,
52 },
53 };
54}
55
56/**
57 * Experimental values:

Callers 4

clearFunction · 0.90
pasteFunction · 0.90
typeFunction · 0.90
common.test.tsFile · 0.90

Calls 1

baseSyntheticEventFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…