antd-mobile
Version:
基于 React 的移动设计规范实现
46 lines (45 loc) • 1.35 kB
TypeScript
/// <reference types="react" />
import React from 'react';
interface Props {
children?: any;
refreshControl?: any;
onScroll?: Function;
scrollEventThrottle?: number;
removeClippedSubviews?: boolean;
dataSource: any;
renderSeparator?: Function;
renderRow: Function;
initialListSize?: number;
onEndReached?: Function;
onEndReachedThreshold?: number;
pageSize?: number;
renderFooter?: Function;
renderHeader?: Function;
renderSectionHeader?: Function;
renderScrollComponent?: Function;
scrollRenderAheadDistance?: number;
onChangeVisibleRows?: Function;
style?: any;
/** below web only */
className?: string;
prefixCls?: string;
listPrefixCls?: string;
listViewPrefixCls?: string;
contentContainerStyle?: React.CSSProperties;
renderBodyComponent?: Function;
renderSectionBodyWrapper?: Function;
sectionBodyClassName?: string;
useZscroller?: boolean;
useBodyScroll?: boolean;
stickyHeader?: boolean;
stickyProps?: any;
stickyContainerProps?: any;
scrollerOptions?: any;
/** below web only, work at `ListView.IndexedList` */
onQuickSearch?: Function;
quickSearchBarStyle?: React.CSSProperties;
quickSearchBarTop?: Object;
delayTime?: number;
delayActivityIndicator?: any;
}
export default Props;