1 | import * as React from 'react';
|
2 | import { PressableProps } from 'react-native';
|
3 | export declare type Props = PressableProps & {
|
4 | pressColor?: string;
|
5 | pressOpacity?: number;
|
6 | children: React.ReactNode;
|
7 | };
|
8 | /**
|
9 | * PlatformPressable provides an abstraction on top of TouchableNativeFeedback and
|
10 | * TouchableOpacity to handle platform differences.
|
11 | *
|
12 | * On Android, you can pass the props of TouchableNativeFeedback.
|
13 | * On other platforms, you can pass the props of TouchableOpacity.
|
14 | */
|
15 | export default function PlatformPressable({ android_ripple, pressColor, pressOpacity, style, ...rest }: Props): JSX.Element;
|