UNPKG

react-native-paper

Version:
25 lines 1.02 kB
import * as React from 'react'; import { PressableAndroidRippleConfig, StyleProp, ViewStyle, GestureResponderEvent, View, ColorValue } from 'react-native'; import type { PressableProps } from './Pressable'; import type { ThemeProp } from '../../types'; export type Props = PressableProps & { borderless?: boolean; background?: PressableAndroidRippleConfig; centered?: boolean; disabled?: boolean; onPress?: (e: GestureResponderEvent) => void | null; onLongPress?: (e: GestureResponderEvent) => void; onPressIn?: (e: GestureResponderEvent) => void; onPressOut?: (e: GestureResponderEvent) => void; rippleColor?: ColorValue; underlayColor?: string; children: React.ReactNode; style?: StyleProp<ViewStyle>; theme?: ThemeProp; }; declare const Component: import("../../utils/forwardRef").ForwardRefComponent<View, Props>; declare const _default: typeof Component & { supported: boolean; }; export default _default; //# sourceMappingURL=TouchableRipple.native.d.ts.map