UNPKG

984 BTypeScriptView Raw
1import * as React from 'react';
2import { PressableAndroidRippleConfig, StyleProp, ViewStyle, GestureResponderEvent, View, ColorValue } from 'react-native';
3import type { PressableProps } from './Pressable';
4import type { ThemeProp } from '../../types';
5export declare type Props = PressableProps & {
6 borderless?: boolean;
7 background?: PressableAndroidRippleConfig;
8 centered?: boolean;
9 disabled?: boolean;
10 onPress?: (e: GestureResponderEvent) => void | null;
11 onLongPress?: (e: GestureResponderEvent) => void;
12 onPressIn?: (e: GestureResponderEvent) => void;
13 onPressOut?: (e: GestureResponderEvent) => void;
14 rippleColor?: ColorValue;
15 underlayColor?: string;
16 children: React.ReactNode;
17 style?: StyleProp<ViewStyle>;
18 theme?: ThemeProp;
19};
20declare const _default: import("../../utils/forwardRef").ForwardRefComponent<View, Props> & {
21 supported: boolean;
22};
23export default _default;
24//# sourceMappingURL=TouchableRipple.native.d.ts.map
\No newline at end of file