UNPKG

@uiw/react-native

Version:
18 lines (17 loc) 630 B
import React from 'react'; import { ViewProps, StyleProp, TextStyle, ViewStyle, TouchableWithoutFeedbackProps } from 'react-native'; export interface ListItemProps extends ViewProps, TouchableWithoutFeedbackProps { underlayColor?: string; paddingLeft?: number; extra?: React.ReactNode; extraStyle?: StyleProp<ViewStyle> | StyleProp<TextStyle>; touchableStyle?: StyleProp<ViewStyle>; /** * 单元格大小 */ size?: 'small' | 'default' | 'large'; } export default class ListItem extends React.PureComponent<ListItemProps> { static defaultProps: ListItemProps; render(): JSX.Element; }