UNPKG

1.9 kBTypeScriptView Raw
1import * as React from 'react';
2import { BackgroundPropType, StyleProp, TouchableWithoutFeedback, ViewStyle } from 'react-native';
3declare type Props = React.ComponentProps<typeof TouchableWithoutFeedback> & {
4 borderless?: boolean;
5 background?: BackgroundPropType;
6 disabled?: boolean;
7 onPress?: () => void | null;
8 rippleColor?: string;
9 underlayColor?: string;
10 children: React.ReactNode;
11 style?: StyleProp<ViewStyle>;
12 theme: ReactNativePaper.Theme;
13};
14declare const _default: React.ComponentType<Pick<import("react-native").TouchableWithoutFeedbackProps & {
15 borderless?: boolean | undefined;
16 background?: BackgroundPropType | undefined;
17 disabled?: boolean | undefined;
18 onPress?: (() => void | null) | undefined;
19 rippleColor?: string | undefined;
20 underlayColor?: string | undefined;
21 children: React.ReactNode;
22 style?: StyleProp<ViewStyle>;
23 theme: ReactNativePaper.Theme;
24}, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor"> & {
25 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
26}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("react-native").TouchableWithoutFeedbackProps & {
27 borderless?: boolean | undefined;
28 background?: BackgroundPropType | undefined;
29 disabled?: boolean | undefined;
30 onPress?: (() => void | null) | undefined;
31 rippleColor?: string | undefined;
32 underlayColor?: string | undefined;
33 children: React.ReactNode;
34 style?: StyleProp<ViewStyle>;
35 theme: ReactNativePaper.Theme;
36}> & {
37 ({ style, background, borderless, disabled: disabledProp, rippleColor, underlayColor, children, theme, ...rest }: Props): JSX.Element;
38 supported: boolean;
39}, {}>;
40export default _default;
41
\No newline at end of file