antd-mobile
Version:
基于 React 的移动设计规范实现
40 lines (39 loc) • 977 B
TypeScript
import * as React from 'react';
export interface CommonProps {
style?: React.CSSProperties;
children?: any;
}
export interface BriefProps {
style?: React.CSSProperties;
children?: any;
inExtra?: boolean;
}
export interface ListItemProps {
style?: React.CSSProperties;
onClick?: any;
multipleLine?: boolean;
thumb?: any;
children?: any;
extra?: any;
arrow?: 'horizontal' | 'down' | 'up' | 'empty' | '';
error?: boolean;
lazy?: boolean;
last?: boolean;
}
export default class Item extends React.Component<ListItemProps, any> {
static propTypes: {
extra(props: any, propName: any): void;
arrow: React.Requireable<any>;
};
static defaultProps: {
lazy: boolean;
last: boolean;
multipleLine: boolean;
};
static Brief: any;
timer: any;
constructor(props: any);
componentWillMount(): void;
componentWillUnmount(): void;
render(): JSX.Element;
}