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