/// import { CSSProperties, ReactElement } from "react"; import ListViewDataSource from './ListViewDataSource'; export interface IStaticRenderer { shouldUpdate: boolean; render: any; } export interface IRefreshControl { prefixCls?: string; className?: string; style?: CSSProperties; icon?: any; loading?: any; distanceToRefresh?: number; refreshing?: boolean; onRefresh: (...argument) => void; } export interface IScrollView { children?: any; className?: string; prefixCls?: string; listPrefixCls?: string; listViewPrefixCls?: string; style?: CSSProperties; contentContainerStyle?: CSSProperties; onScroll?: (...argument) => void; scrollEventThrottle?: number; removeClippedSubviews?: boolean; refreshControl?: any; stickyHeader?: any; useBodyScroll?: any; onLayout?: any; useZscroller?: any; scrollerOptions?: any; } export interface IListView extends IScrollView { dataSource: ListViewDataSource; renderSeparator?: (...argument) => void; renderRow: any; initialListSize?: number; onEndReached?: (...argument) => void; onEndReachedThreshold?: number; pageSize?: number; renderFooter?: (...argument) => ReactElement<{}>; renderHeader?: (...argument) => ReactElement<{}>; renderSectionHeader?: (...argument) => ReactElement; renderScrollComponent?: (...argument) => ReactElement; scrollRenderAheadDistance?: number; onChangeVisibleRows?: (...argument) => void; scrollEventThrottle?: number; renderBodyComponent?: (...argument) => ReactElement<{}>; renderSectionBodyWrapper?: (...argument) => ReactElement; sectionBodyClassName?: string; useZscroller?: boolean; useBodyScroll?: boolean; stickyHeader?: boolean; stickyProps?: any; stickyContainerProps?: any; horizontal?: any; onContentSizeChange?: any; } export interface IIndexedList extends IListView { children?: any; prefixCls?: string; className?: string; sectionHeaderClassName?: string; quickSearchBarTop?: any; quickSearchBarStyle?: string; onQuickSearch?: (...argument) => void; showQuickSearchIndicator?: boolean; refs?: any; delayActivityIndicator: any; }