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

Function isEditableTextInput

src/helpers/text-input.ts:6–8  ·  view source on GitHub ↗
(instance: TestInstance)

Source from the content-addressed store, hash-verified

4import { isHostTextInput } from './host-component-names';
5
6export function isEditableTextInput(instance: TestInstance) {
7 return isHostTextInput(instance) && instance.props.editable !== false;
8}
9
10export function getTextInputValue(instance: TestInstance) {
11 if (!isHostTextInput(instance)) {

Callers 7

isEventEnabledFunction · 0.90
setNativeStateIfNeededFunction · 0.90
computeAriaDisabledFunction · 0.90
clearFunction · 0.90
pasteFunction · 0.90
typeFunction · 0.90

Calls 1

isHostTextInputFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…