react-native-ui-lib
Version:
[](https://stand-with-ukraine.pp.ua)
18 lines (17 loc) • 720 B
TypeScript
import { TextStyle } from 'react-native';
import { ComponentProps } from '../../testkit/new/Component.driver';
export declare const TextDriver: (props: ComponentProps) => {
getText: () => string | (string | import("react-test-renderer").ReactTestInstance)[];
getStyle: () => TextStyle;
press: () => void;
hasOnPress: () => boolean;
onPressIn: () => void;
hasOnPressIn: () => boolean;
onPressOut: () => void;
hasOnPressOut: () => boolean;
onLongPress: () => void;
hasOnLongPress: () => boolean;
getElement: () => import("react-test-renderer").ReactTestInstance;
queryElement: () => import("react-test-renderer").ReactTestInstance | undefined;
exists: () => boolean;
};