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

Function buildEndEditingEvent

src/event-builder/text.ts:45–50  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

43 * - Android: `{"target": 53, "text": "Test"}`
44 */
45export function buildEndEditingEvent(text: string) {
46 return {
47 ...baseSyntheticEvent(),
48 nativeEvent: { text, target: 0 },
49 };
50}
51
52/**
53 * Experimental values:

Callers 4

clearFunction · 0.90
pasteFunction · 0.90
typeFunction · 0.90
text.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…