UNPKG

1.52 kBTypeScriptView Raw
1import React from 'react';
2import { StyleProp, TouchableHighlightProps, ViewStyle } from 'react-native';
3import { RneFunctionComponent } from '../helpers';
4export declare type ListItemProps = TouchableHighlightProps & {
5 containerStyle?: StyleProp<ViewStyle>;
6 disabledStyle?: StyleProp<ViewStyle>;
7 topDivider?: boolean;
8 bottomDivider?: boolean;
9 pad?: number;
10 Component?: typeof React.Component;
11 ViewComponent?: typeof React.Component;
12 linearGradientProps?: any;
13 children?: any;
14};
15declare const ListItemBase: RneFunctionComponent<ListItemProps>;
16export { ListItemBase };
17declare const _default: React.FunctionComponent<Omit<TouchableHighlightProps & {
18 containerStyle?: StyleProp<ViewStyle>;
19 disabledStyle?: StyleProp<ViewStyle>;
20 topDivider?: boolean;
21 bottomDivider?: boolean;
22 pad?: number;
23 Component?: typeof React.Component;
24 ViewComponent?: typeof React.Component;
25 linearGradientProps?: any;
26 children?: any;
27} & Partial<import("../config").ThemeProps<ListItemProps>>, keyof import("../config").ThemeProps<T>>> | React.ForwardRefExoticComponent<TouchableHighlightProps & {
28 containerStyle?: StyleProp<ViewStyle>;
29 disabledStyle?: StyleProp<ViewStyle>;
30 topDivider?: boolean;
31 bottomDivider?: boolean;
32 pad?: number;
33 Component?: typeof React.Component;
34 ViewComponent?: typeof React.Component;
35 linearGradientProps?: any;
36 children?: any;
37} & Partial<import("../config").ThemeProps<ListItemProps>>>;
38export default _default;