1 | import { Animated, TouchableOpacityProps } from 'react-native';
|
2 | import { GenericTouchableProps } from './GenericTouchable';
|
3 | import { Component } from 'react';
|
4 |
|
5 |
|
6 |
|
7 | export default class TouchableOpacity extends Component<TouchableOpacityProps & GenericTouchableProps> {
|
8 | static defaultProps: {
|
9 | activeOpacity: number;
|
10 | delayLongPress: number;
|
11 | extraButtonProps: {
|
12 | rippleColor: string;
|
13 | };
|
14 | };
|
15 | getChildStyleOpacityWithDefault: () => number;
|
16 | opacity: Animated.Value;
|
17 | setOpacityTo: (value: number, duration: number) => void;
|
18 | onStateChange: (_from: number, to: number) => void;
|
19 | render(): JSX.Element;
|
20 | }
|