UNPKG

react-native-ui-lib

Version:

<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a

25 lines (24 loc) 971 B
import { RenderAPI } from '@testing-library/react-native'; import { ReactTestInstance } from 'react-test-renderer'; declare const TextFieldDriverFactory: ({ wrapperComponent, testID }: { wrapperComponent: RenderAPI; testID: string; }) => Promise<{ exists: () => boolean; getRootElement: () => ReactTestInstance | null; content: () => any; isDisabled: () => any; changeText: (text: string) => void; isPlaceholderVisible: () => boolean | undefined; getPlaceholderContent: () => any; getLabelRootElement: () => ReactTestInstance | null; isLabelExists: () => boolean; getLabelContent: () => any; getValidationMsgRootElement: () => ReactTestInstance | null; isValidationMsgExists: () => boolean; getValidationMsgContent: () => any; getCharCounterRootElement: () => ReactTestInstance | null; isCharCounterExists: () => boolean; getCharCounterContent: () => any; }>; export default TextFieldDriverFactory;