UNPKG

react-native-ui-lib

Version:

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua)

19 lines (18 loc) 689 B
import { ViewStyle } from 'react-native'; import { ComponentProps } from '../../testkit/new/Component.driver'; export declare const SwitchDriver: (props: ComponentProps) => { getStyle: () => ViewStyle; isDisabled: () => boolean; isChecked: () => any; 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; };