MCPcopy Create free account
hub / github.com/callstack/react-native-paper / handleChangeText

Function handleChangeText

src/components/TextInput/TextInput.tsx:430–440  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

428 };
429
430 const handleChangeText = (value: string) => {
431 if (!editable || disabled) {
432 return;
433 }
434
435 if (!isControlled) {
436 // Keep track of value in local state when input is not controlled
437 setUncontrolledValue(value);
438 }
439 rest.onChangeText?.(value);
440 };
441
442 const handleLayoutAnimatedText = React.useCallback(
443 (e: LayoutChangeEvent) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…