UNPKG

antd-mobile-rn

Version:

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

42 lines (41 loc) 1.13 kB
import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import { BriefProps as BriefBasePropsType, ListItemPropsType } from './PropsType'; export interface ListItemProps extends ListItemPropsType { styles?: { underlayColor: {}; Content: {}; column: {}; Extra: {}; Arrow: {}; ArrowV: {}; Item: {}; Thumb: {}; multipleThumb: {}; Line: {}; multipleLine: {}; }; onClick?: () => void; onPressIn?: () => void; onPressOut?: () => void; style?: StyleProp<ViewStyle>; } export interface BriefProps extends BriefBasePropsType { styles?: { Brief: {}; BriefText: {}; }; } export declare class Brief extends React.Component<BriefProps, any> { static defaultProps: { styles: { [x: string]: import("react-native").RegisteredStyle<any>; }; }; render(): JSX.Element; } export default class Item extends React.Component<ListItemProps, any> { static defaultProps: Partial<ListItemProps>; static Brief: typeof Brief; render(): JSX.Element; }