UNPKG

react-native-elements

Version:
47 lines (46 loc) 1.88 kB
import React from 'react'; import { TouchableOpacityProps, TouchableNativeFeedbackProps, ViewStyle, StyleProp, TextStyle, ImageProps, ImageURISource } from 'react-native'; import { IconObject } from '../icons/Icon'; export declare type TileProps = TouchableOpacityProps & TouchableNativeFeedbackProps & { title?: string; icon?: IconObject; caption?: React.ReactNode; imageSrc?: ImageURISource | string | number; activeOpacity?: number; containerStyle?: StyleProp<ViewStyle>; imageContainerStyle?: StyleProp<ViewStyle>; iconContainerStyle?: StyleProp<ViewStyle>; overlayContainerStyle?: StyleProp<ViewStyle>; titleStyle?: StyleProp<TextStyle>; captionStyle?: StyleProp<TextStyle>; width?: number; height?: number; featured?: boolean; contentContainerStyle?: StyleProp<ViewStyle>; titleNumberOfLines?: number; imageProps?: Partial<ImageProps>; ImageComponent?: typeof React.Component; }; declare const Tile: React.FunctionComponent<TileProps>; export { Tile }; declare const _default: React.FunctionComponent<Omit<TouchableOpacityProps & TouchableNativeFeedbackProps & { title?: string; icon?: IconObject; caption?: React.ReactNode; imageSrc?: string | number | ImageURISource; activeOpacity?: number; containerStyle?: StyleProp<ViewStyle>; imageContainerStyle?: StyleProp<ViewStyle>; iconContainerStyle?: StyleProp<ViewStyle>; overlayContainerStyle?: StyleProp<ViewStyle>; titleStyle?: StyleProp<TextStyle>; captionStyle?: StyleProp<TextStyle>; width?: number; height?: number; featured?: boolean; contentContainerStyle?: StyleProp<ViewStyle>; titleNumberOfLines?: number; imageProps?: Partial<ImageProps>; ImageComponent?: typeof React.Component; }, keyof import("../config/ThemeProvider").ThemeProps<T>>>; export default _default;