You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1021 B
26 lines
1021 B
import React from 'react';
|
|
import { PressableProps, ViewStyle, StyleProp, TextStyle, ImageProps, ImageSourcePropType } from 'react-native';
|
|
import { IconObject, IconProps } from '../Icon';
|
|
import { RneFunctionComponent } from '../helpers';
|
|
export interface TileProps extends PressableProps {
|
|
title?: string;
|
|
icon?: IconObject & IconProps;
|
|
caption?: React.ReactNode;
|
|
imageSrc?: ImageSourcePropType | 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;
|
|
}
|
|
export declare const Tile: RneFunctionComponent<TileProps>;
|