UNPKG

@ant-design/react-native

Version:

基于蚂蚁金服移动设计规范的 React Native 组件库

22 lines (21 loc) 853 B
import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import { WithThemeStyles } from '../style'; import { BriefProps as BriefBasePropsType, ListItemPropsType } from './PropsType'; import { ListStyle } from './style/index'; export interface ListItemProps extends ListItemPropsType, WithThemeStyles<ListStyle> { onPress?: () => void; onPressIn?: () => void; onPressOut?: () => void; style?: StyleProp<ViewStyle>; } export interface BriefProps extends BriefBasePropsType, WithThemeStyles<Pick<ListStyle, 'Brief' | 'BriefText'>> { } export declare class Brief extends React.Component<BriefProps, any> { render(): JSX.Element; } export default class Item extends React.Component<ListItemProps, any> { static defaultProps: Partial<ListItemProps>; static Brief: typeof Brief; render(): JSX.Element; }