react-native-tab-view-next
Version:
Tab view component for React Native
16 lines (15 loc) • 616 B
TypeScript
import * as React from 'react';
import { PressableProps } from 'react-native';
export declare type Props = PressableProps & {
pressColor?: string;
pressOpacity?: number;
children: React.ReactNode;
};
/**
* PlatformPressable provides an abstraction on top of TouchableNativeFeedback and
* TouchableOpacity to handle platform differences.
*
* On Android, you can pass the props of TouchableNativeFeedback.
* On other platforms, you can pass the props of TouchableOpacity.
*/
export default function PlatformPressable({ android_ripple, pressColor, pressOpacity, style, ...rest }: Props): JSX.Element;