1 | import React from 'react';
|
2 | import { TouchableOpacityProps, TouchableNativeFeedbackProps, ViewStyle, StyleProp, TextStyle, ImageProps, ImageURISource, ImageSourcePropType } from 'react-native';
|
3 | import { IconObject, IconProps } from '../icons/Icon';
|
4 | import { RneFunctionComponent } from '../helpers';
|
5 | export declare type TileProps = TouchableOpacityProps & TouchableNativeFeedbackProps & {
|
6 | title?: string;
|
7 | icon?: IconObject & IconProps;
|
8 | caption?: React.ReactNode;
|
9 | imageSrc?: ImageSourcePropType | string | number;
|
10 | activeOpacity?: number;
|
11 | containerStyle?: StyleProp<ViewStyle>;
|
12 | imageContainerStyle?: StyleProp<ViewStyle>;
|
13 | iconContainerStyle?: StyleProp<ViewStyle>;
|
14 | overlayContainerStyle?: StyleProp<ViewStyle>;
|
15 | titleStyle?: StyleProp<TextStyle>;
|
16 | captionStyle?: StyleProp<TextStyle>;
|
17 | width?: number;
|
18 | height?: number;
|
19 | featured?: boolean;
|
20 | contentContainerStyle?: StyleProp<ViewStyle>;
|
21 | titleNumberOfLines?: number;
|
22 | imageProps?: Partial<ImageProps>;
|
23 | ImageComponent?: typeof React.Component;
|
24 | };
|
25 | declare const Tile: RneFunctionComponent<TileProps>;
|
26 | export { Tile };
|
27 | declare const _default: React.FunctionComponent<Pick<TouchableOpacityProps & TouchableNativeFeedbackProps & {
|
28 | title?: string;
|
29 | icon?: IconObject & import("react-native-vector-icons/Icon").IconButtonProps & {
|
30 | type?: string;
|
31 | Component?: typeof React.Component;
|
32 | reverse?: boolean;
|
33 | raised?: boolean;
|
34 | containerStyle?: StyleProp<ViewStyle>;
|
35 | iconProps?: import("react-native-vector-icons/Icon").IconProps;
|
36 | reverseColor?: string;
|
37 | disabled?: boolean;
|
38 | disabledStyle?: StyleProp<ViewStyle>;
|
39 | solid?: boolean;
|
40 | brand?: boolean;
|
41 | };
|
42 | caption?: React.ReactNode;
|
43 | imageSrc?: string | number | ImageURISource | ImageURISource[];
|
44 | activeOpacity?: number;
|
45 | containerStyle?: StyleProp<ViewStyle>;
|
46 | imageContainerStyle?: StyleProp<ViewStyle>;
|
47 | iconContainerStyle?: StyleProp<ViewStyle>;
|
48 | overlayContainerStyle?: StyleProp<ViewStyle>;
|
49 | titleStyle?: StyleProp<TextStyle>;
|
50 | captionStyle?: StyleProp<TextStyle>;
|
51 | width?: number;
|
52 | height?: number;
|
53 | featured?: boolean;
|
54 | contentContainerStyle?: StyleProp<ViewStyle>;
|
55 | titleNumberOfLines?: number;
|
56 | imageProps?: Partial<ImageProps>;
|
57 | ImageComponent?: typeof React.Component;
|
58 | } & Partial<import("../config").ThemeProps<TileProps>>, "style" | "onLayout" | "testID" | "width" | "height" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "disabled" | "onPress" | "onLongPress" | "activeOpacity" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "hitSlop" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "hasTVPreferredFocus" | "tvParallaxProperties" | "touchSoundDisabled" | "background" | "useForeground" | "containerStyle" | "caption" | "title" | "ImageComponent" | "icon" | "titleStyle" | "overlayContainerStyle" | "imageProps" | "contentContainerStyle" | "iconContainerStyle" | "imageSrc" | "imageContainerStyle" | "captionStyle" | "featured" | "titleNumberOfLines">> | React.ForwardRefExoticComponent<TouchableOpacityProps & TouchableNativeFeedbackProps & {
|
59 | title?: string;
|
60 | icon?: IconObject & import("react-native-vector-icons/Icon").IconButtonProps & {
|
61 | type?: string;
|
62 | Component?: typeof React.Component;
|
63 | reverse?: boolean;
|
64 | raised?: boolean;
|
65 | containerStyle?: StyleProp<ViewStyle>;
|
66 | iconProps?: import("react-native-vector-icons/Icon").IconProps;
|
67 | reverseColor?: string;
|
68 | disabled?: boolean;
|
69 | disabledStyle?: StyleProp<ViewStyle>;
|
70 | solid?: boolean;
|
71 | brand?: boolean;
|
72 | };
|
73 | caption?: React.ReactNode;
|
74 | imageSrc?: string | number | ImageURISource | ImageURISource[];
|
75 | activeOpacity?: number;
|
76 | containerStyle?: StyleProp<ViewStyle>;
|
77 | imageContainerStyle?: StyleProp<ViewStyle>;
|
78 | iconContainerStyle?: StyleProp<ViewStyle>;
|
79 | overlayContainerStyle?: StyleProp<ViewStyle>;
|
80 | titleStyle?: StyleProp<TextStyle>;
|
81 | captionStyle?: StyleProp<TextStyle>;
|
82 | width?: number;
|
83 | height?: number;
|
84 | featured?: boolean;
|
85 | contentContainerStyle?: StyleProp<ViewStyle>;
|
86 | titleNumberOfLines?: number;
|
87 | imageProps?: Partial<ImageProps>;
|
88 | ImageComponent?: typeof React.Component;
|
89 | } & Partial<import("../config").ThemeProps<TileProps>>>;
|
90 | export default _default;
|