/// /** * * @param fetchDataFunction api请求 * @param args 请求参数 * @param render 列表 * @demo * ProductAPI.goodsList(params: ListPagination): Promise> * * const {onChangePage, data, hasMore, currentPage} = useRefreshList( parsePaginationApiFn(product.goodsList.bind(product)), {page_size: 5}, ) } /> * @returns */ declare const RefreshList: >({ onChangePage, data, hasMore, currentPage, render, header, refreshTextColor, extraRefresh, className, listStyle }: { onChangePage: (newPage: number) => Promise; data: T[] | undefined; hasMore: boolean; currentPage: number; render: (data: T, index: number) => JSX.Element; header?: (() => JSX.Element) | undefined; refreshTextColor?: string | undefined; extraRefresh?: (() => void) | undefined; className?: string | undefined; listStyle?: import("react").CSSProperties | undefined; }) => JSX.Element; export default RefreshList;