1 | import * as React from 'react';
|
2 | import { ColorValue, GestureResponderEvent, StyleProp, View, ViewStyle } from 'react-native';
|
3 | import type { PressableProps, PressableStateCallbackType } from './Pressable';
|
4 | import type { ThemeProp } from '../../types';
|
5 | export type Props = PressableProps & {
|
6 | |
7 |
|
8 |
|
9 | borderless?: boolean;
|
10 | |
11 |
|
12 |
|
13 |
|
14 | background?: Object;
|
15 | |
16 |
|
17 |
|
18 | centered?: boolean;
|
19 | |
20 |
|
21 |
|
22 | disabled?: boolean;
|
23 | |
24 |
|
25 |
|
26 | onPress?: (e: GestureResponderEvent) => void;
|
27 | |
28 |
|
29 |
|
30 | onLongPress?: (e: GestureResponderEvent) => void;
|
31 | |
32 |
|
33 |
|
34 | onPressIn?: (e: GestureResponderEvent) => void;
|
35 | |
36 |
|
37 |
|
38 | onPressOut?: (e: GestureResponderEvent) => void;
|
39 | |
40 |
|
41 |
|
42 | rippleColor?: ColorValue;
|
43 | |
44 |
|
45 |
|
46 | underlayColor?: string;
|
47 | |
48 |
|
49 |
|
50 | children: ((state: PressableStateCallbackType) => React.ReactNode) | React.ReactNode;
|
51 | style?: StyleProp<ViewStyle> | ((state: PressableStateCallbackType) => StyleProp<ViewStyle>) | undefined;
|
52 | /**
|
53 | * @optional
|
54 | */
|
55 | theme?: ThemeProp;
|
56 | };
|
57 | declare const _default: import("../../utils/forwardRef").ForwardRefComponent<View, Props> & {
|
58 | supported: boolean;
|
59 | };
|
60 | export default _default;
|
61 | //# sourceMappingURL=TouchableRipple.d.ts.map |
\ | No newline at end of file |