react-native-elements
Version:
React Native Elements & UI Toolkit
39 lines (38 loc) • 2.39 kB
TypeScript
import React from 'react';
import { StyleProp, TouchableHighlightProps, ViewStyle } from 'react-native';
import { RneFunctionComponent } from '../helpers';
export declare type ListItemProps = TouchableHighlightProps & {
containerStyle?: StyleProp<ViewStyle>;
disabledStyle?: StyleProp<ViewStyle>;
topDivider?: boolean;
bottomDivider?: boolean;
pad?: number;
Component?: typeof React.Component;
ViewComponent?: typeof React.Component;
linearGradientProps?: any;
children?: any;
};
declare const ListItemBase: RneFunctionComponent<ListItemProps>;
export { ListItemBase };
declare const _default: React.FunctionComponent<Pick<TouchableHighlightProps & {
containerStyle?: StyleProp<ViewStyle>;
disabledStyle?: StyleProp<ViewStyle>;
topDivider?: boolean;
bottomDivider?: boolean;
pad?: number;
Component?: typeof React.Component;
ViewComponent?: typeof React.Component;
linearGradientProps?: any;
children?: any;
} & Partial<import("../config").ThemeProps<ListItemProps>>, "style" | "onLayout" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "disabled" | "onPress" | "onLongPress" | "activeOpacity" | "onHideUnderlay" | "onShowUnderlay" | "underlayColor" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "hitSlop" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "hasTVPreferredFocus" | "tvParallaxProperties" | "touchSoundDisabled" | "Component" | "containerStyle" | "disabledStyle" | "children" | "linearGradientProps" | "ViewComponent" | "pad" | "topDivider" | "bottomDivider">> | React.ForwardRefExoticComponent<TouchableHighlightProps & {
containerStyle?: StyleProp<ViewStyle>;
disabledStyle?: StyleProp<ViewStyle>;
topDivider?: boolean;
bottomDivider?: boolean;
pad?: number;
Component?: typeof React.Component;
ViewComponent?: typeof React.Component;
linearGradientProps?: any;
children?: any;
} & Partial<import("../config").ThemeProps<ListItemProps>>>;
export default _default;