UNPKG

785 BTypeScriptView Raw
1import * as React from 'react';
2import IndexedList from './Indexed';
3import { ListViewPropsType } from './PropsType';
4export interface ListViewProps extends ListViewPropsType {
5 onQuickSearch?: (sectionID: any, topId?: any) => void;
6 quickSearchBarStyle?: React.CSSProperties;
7 quickSearchBarTop?: {
8 value: string;
9 label: string;
10 };
11 delayTime?: number;
12 delayActivityIndicator?: any;
13}
14export default class ListView extends React.Component<ListViewProps, any> {
15 static defaultProps: {
16 prefixCls: string;
17 listPrefixCls: string;
18 };
19 static DataSource: any;
20 static IndexedList: typeof IndexedList;
21 listviewRef: any;
22 scrollTo: (...args: any[]) => any;
23 getInnerViewNode: () => any;
24 render(): JSX.Element;
25}