UNPKG

react-native-gesture-handler

Version:

Declarative API exposing native platform touch and gesture system to React Native

17 lines 730 B
import type { Insets, StyleProp, TouchableWithoutFeedbackProps, ViewStyle } from 'react-native'; import type { UserSelect } from '../../handlers/gestureHandlerCommon'; import type { ExtraButtonProps } from './ExtraButtonProps'; export interface GenericTouchableProps extends Omit<TouchableWithoutFeedbackProps, 'hitSlop'> { onPress?: () => void; onPressIn?: () => void; onPressOut?: () => void; onLongPress?: () => void; nativeID?: string; shouldActivateOnStart?: boolean; disallowInterruption?: boolean; containerStyle?: StyleProp<ViewStyle>; hitSlop?: Insets | number; userSelect?: UserSelect; extraButtonProps?: ExtraButtonProps; } //# sourceMappingURL=GenericTouchableProps.d.ts.map